Results 1 to 8 of 8
  1. #1
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291

    Is there a way to make a part of a string that is calculated into a currency form?

    I have a text box and currently this is my control source

    ="Testing " & [test]/3



    test = 1000 so my text box reports:
    Testing 333.333333333333

    Is there a way to make it into a form like $333.33

    Also is there a way to make [test]/3 come out in a money text form? like "Three hundred thirty three dollars and thirty three cents.

    Thanks for any info

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Use Round and/or Format functions.

    One way:
    ="Testing $" & Round([test]/3,2)

    The text part requires fancy VBA function. Google: Number to words text
    Here is one http://www.ozgrid.com/VBA/CurrencyToWords.htm
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Numbers:
    ="Testing " & Format(test/3,Currency)

    Words:
    http://www.techonthenet.com/access/f...r_to_words.php

  4. #4
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Sorry June, didn't see that!

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Is okay, more info better than none!
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291
    Awesome, is there a good place that just has a list of all the functions available and maybe a description? There are so many functions I cant remember them all.

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Google: Access VBA functions
    Here is one http://www.techonthenet.com/access/functions/
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291
    FYI its
    ="Testing " & Format(test/3,"Currency")

Please reply to this thread with any new information or opinions.

Similar Threads

  1. matching part of the string from two columns
    By hoachen in forum Queries
    Replies: 4
    Last Post: 12-20-2011, 01:54 PM
  2. Replies: 5
    Last Post: 12-10-2011, 11:49 AM
  3. Replies: 3
    Last Post: 10-16-2011, 02:51 PM
  4. Replies: 9
    Last Post: 08-27-2011, 11:20 PM
  5. Find command default make it Any part of field
    By techexpressinc in forum Forms
    Replies: 0
    Last Post: 03-15-2011, 07:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums