Glenda, I have a trick I use in VBA to fix this when I need to export with leading or trailing zeroes James -----Original Message----- From: Glenda Wells [mailto:gwells@xxxxxxxxxxx] Sent: Thursday, November 13, 2003 4:47 AM To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Access Update Query & Trailing Zeros :VSMail mx2 Thanks James. It's not the display that's the problem. I need the trailing zeros when I export the file to .txt, fixed width format. My resulting number MUST be 0.00. Ray Blake & Linda Johnson had the right suggestion for this situation. I was using the wrong formatting for the text field. Oddly, to get number values with leading zeros as text, I export from Access or copy/paste to Excel, change the field formatting to display the leading zeros then copy/paste to an existing all text table back in Access THEN export to a .txt file and the leading zeros remain. ZEROS are such a huge problem leading or trailing. sheesh! /g -----Original Message----- From: James LaBorde [mailto:jlaborde@xxxxxxxxx]=20 Sent: Wednesday, November 12, 2003 03:36 PM To: 'mso@xxxxxxxxxxxxx' Subject: [mso] Re: Access Update Query & Trailing Zeros :VSMail mx2 Glenda, What you see in the database is only the way the data is stored. It shouldn't make a difference whether it has trailing zeroes or not. You can simply change the way the field is displayed in your form or report. That way it only stores what it needs but is displayed in the format you require. James -----Original Message----- From: Linda F. Johnson [mailto:linda@xxxxxxxxxxxxxxxxxxxxxxxxxxx] Sent: Tuesday, November 11, 2003 3:41 PM To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Access Update Query & Trailing Zeros :VSMail mx2 You don't want to use #s..you want to use zeroes Reformat the Excel cells as 0.00...not #.##=20 Linda F. Johnson, M.A., MOS Linda's Computer Stop http://personal-computer-tutor.com Free e-Books, Newsletter, and tutorials -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Glenda Wells Sent: Tuesday, November 11, 2003 3:42 PM To: mso@xxxxxxxxxxxxx Subject: [mso] Access Update Query & Trailing Zeros Hi All. I import a table of two fields and about 25,000 records from Excel. The field I'm having problems with is a numeric field formatted as #.## The data should look like 0.21 or 1.00 or 0.40, which it does...in Excel. When I import this data into Access, the values of this particular field lose the trailing zero. Instead of 1.00, I get 1. Instead of 0.40, I get 0.4 If I import the data to a text only field, I still lose the trailing zeros. Brilliant techie that I am, I ran an update query to change 0.4 to 0.40, 0.5 to 0.50, etc. The update query ran fine with numerous records being updated. However, when I view the data, I still only see 0.4 and 0.5 without trailing zeros. I've tried formatting the text field but maybe I'm not doing it right. I tried re-running the update query but the value is not found...even though I see 0.4, the system tells me 0.4 does not exist. I even copied the field value and pasted it to my update query field. Murphy's not dead, just on an extended vacation in Central Florida. HELLLPPPPP! /g ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to=20 mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to=20 mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************