Results 1 to 2 of 2

Thread: Changing the Number Format

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2005
    Posts
    22

    Changing the Number Format

    I build a query using vba,
    then i want to change the number format in some of the columns.
    may i know how to achieve that?
    thanks in anticipation.

    my code is not working...
    RecordSet("Income").NumberFormat ="###,##0"

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Changing the Number Format

    If you are not using them in other things perhaps:

    Code:
    select blah, format(blahnumber,'%,000.00') as newblahno
    from tblBlah
    will suffice.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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