Results 1 to 3 of 3

Thread: [RESOLVED] Changing the format of a Parameter Field

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    96

    Resolved [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.

  2. #2
    Junior Member
    Join Date
    Jul 2006
    Posts
    31

    Re: Changing the format of a Parameter Field

    Quote 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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    96

    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
  •  



Click Here to Expand Forum to Full Width