Results 1 to 4 of 4
  1. #1
    ninjafly is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    2

    Access email button messing up numbers


    I'm rather a novice with Access and I desperately need help to solve an access report problem. I placed a command button to email a report which it does, but the report which has a column with part numbers in the format "10-12345678, " displays totally screwed up. Eg. 10-04004215 shows up as "512816," and so on. The data type for this PartNumber column is formatted as Text because some of them have 10-TS-12345678. Need help please.

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    Does the report display correctly before you send it?

  3. #3
    ninjafly is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    2
    Hello SoftwareMatters,
    Sorry for the delayed reply...I was out of internet connection range :-)

    Yes, the report displays correctly before I send it, but gets totally screwed up numbers when I email it and view the results.

  4. #4
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    This is usually the case if the first item in the list could be construed as a calculation, such as 10-12345. What you may need to do is wrap CStr() around it even if it is a string type.

    David

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

Similar Threads

  1. email contact button
    By nwalke in forum Programming
    Replies: 3
    Last Post: 07-02-2009, 07:11 AM
  2. Dialing Phone Numbers From Access
    By obrmb in forum Forms
    Replies: 0
    Last Post: 06-11-2009, 12:35 PM
  3. email attachment from Access
    By Gandalf in forum Queries
    Replies: 0
    Last Post: 01-22-2009, 10:03 AM
  4. SENDING EMAIL MESSAGES DIRECTLY FROM ACCESS
    By Frenchos in forum Access
    Replies: 0
    Last Post: 07-20-2007, 12:51 AM
  5. email button in form
    By peterinbristol in forum Forms
    Replies: 0
    Last Post: 03-19-2007, 02:25 PM

Tags for this Thread

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