Results 1 to 2 of 2
  1. #1
    Lewis825 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2015
    Location
    UK
    Posts
    19

    Send Email on Click Decimal Formatiing


    I have a button which send an email, pulling data from a form. All works fine,

    execpet one of the values is a caculated number.

    The text box on the form rounds it to two decimal places so the value is correct on the form.

    when I send it in the email, its not rounded.

    ......& "Unit Price:" & me.txtUnitPrice &.....

    this is the section of the code running the email.

    any ideas?

    TIA

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    "Unit Price:" & format(txtUnitPrice,"currency") &.....

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

Similar Threads

  1. Replies: 3
    Last Post: 12-28-2015, 04:11 PM
  2. Replies: 5
    Last Post: 09-14-2015, 07:24 AM
  3. Replies: 1
    Last Post: 09-07-2014, 10:15 PM
  4. Replies: 5
    Last Post: 05-07-2014, 09:25 AM
  5. Replies: 4
    Last Post: 04-13-2011, 10:11 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