Hale, Jim
Jim.Hale at FleetPride.com
Thu Mar 9 17:11:54 CST 2006
If you export the query directly (not the report) it does it properly. Why? The Microsoft giveth and the Microsoft taketh away. Blessed be the Microsoft. ;-( Jim Hale -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Thursday, March 09, 2006 4:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2K to Excel changes field format I'm going to guess that D0 makes Excel think it is "0 decimals" . Try adding a space in front of the string- that may help although it is not very elegant Jim Hale. -----Original Message----- From: O'Connor, Patricia (OTDA) [mailto:Patricia.O'Connor at otda.state.ny.us] Sent: Thursday, March 09, 2006 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2K to Excel changes field format The query is used to put data into an Access report. The single quote shows up both in the Access report and the excel cell. That does not look good nor does it make sense to user seeing this. If I try to get rid of the single quote in the Access report then it gets reformatted in excel when using the Analyze in Excel. The field is specified and stored as text in both access and oracle and specified text in Excel. Here are some examples. When I use the original query in Access that creates the report directly in excel it did not mess up the ID. 66005769905A01 66002730270C01 66006665460J01 66001747189H01 66007974120D01 66001215257F01 If while looking at the access report and I click Analyze with Excel it does change the ID. 66005769905A01 66002730270C01 66006665460J01 66001747189H01 6.6008E+11 66001215257F01 Why would it mess up only certain id's and why when creating from Access report? Is there a way to tell if whether the wrong version of the analyze option is being used. I do have Access 97 and 2K on this machine. Thanks *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.