|
-
Sep 20th, 2006, 10:57 AM
#1
Thread Starter
Lively Member
[RESOLVED] Changing the format of a Parameter Field
Hi
I'm trying to set up a report that has a parameter field that is a year e.g. 2004, with hardcoded values. I've tried setting it up as a Number so that I can manipulate is at a number in the Record Selection Formula e.g. 2004 + 1. The problem I'm having is that the Parameter Field Editor converts 2004 to 2,004.00!
Is there any way of forcing the format to be 2004?
Thanks.
-
Sep 21st, 2006, 11:17 AM
#2
Junior Member
Re: Changing the format of a Parameter Field
 Originally Posted by obscuregirl
Hi
I'm trying to set up a report that has a parameter field that is a year e.g. 2004, with hardcoded values. I've tried setting it up as a Number so that I can manipulate is at a number in the Record Selection Formula e.g. 2004 + 1. The problem I'm having is that the Parameter Field Editor converts 2004 to 2,004.00!
Is there any way of forcing the format to be 2004?
Thanks.
U have to change value type of year from Number to String.
-
Sep 22nd, 2006, 10:08 AM
#3
Thread Starter
Lively Member
Re: Changing the format of a Parameter Field
I can't do that because if it's a string, it won't let me process it as a number e.g. 2004 + 1 to equal 2005.
anyway, I posted this on the VB.Net Forum too and got an answer. For anyone that's interested, that answer can be seen here:
http://www.vbforums.com/showthread.p...10#post2629010
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|