Menu

cstr() returns formatted String with thousands separator

Help
logineimer
2015-04-08
2015-04-14
  • logineimer

    logineimer - 2015-04-08

    Hello again,

    I got my select working. However, I ran into the next issue.

    cstr(PersonNumber) formats my numbers with thousands separators like this: 29.132.512 - this is wrong because the separators don't make sense in this case.

    Is it possible to avoid the format?

    Greetings

     
  • logineimer

    logineimer - 2015-04-13

    Anyone?

     
  • Marco Amadei

    Marco Amadei - 2015-04-13

    Hi,
    you don't need a function, but PersonNumber & ''.
    Cheers Marco

     
  • Gord Thompson

    Gord Thompson - 2015-04-13

    UCanAccess also supports the Format() function so you could use Format(PersonNumber, '0').

     
  • logineimer

    logineimer - 2015-04-14

    Thanks! But why does UCanAccess format the numbers? Is there an opportunity to simply turn off this behavior?

     

Log in to post a comment.