Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2004, 09:37 AM
Registered User
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Numbers import as Exponential

Help, Help...
When importing data from an Excel spreadsheet into Access 2000 some of the data in one field changes the number formatted in Excel as a category:Number, Decimal:0 ( use this format in Excel to get around the field changing some cells to scientific "e+") shows as a scientific number. This field contain numbers letters and characters, which I have no control over.

EXample: This number in Excel:51268600024353
Will change to: 5.1268600024e+013 when imported into Access
I need it stay as 51268600024353
The box is grayed in the wizard that allows you to indicate the field type.



 
Old May 10th, 2004, 07:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The numbers are the same, regardless of how they are displayed.
They get stored the same way.
So for any reporting or querying etc, you can then format the number however you like.
For example
Code:
SELECT Format(YourDate, "Fixed") As FormattedNumber FROM YourTable;
I am a loud man with a very large hat. This means I am in charge





Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Import- How to import the first 5 lines. nickzhang.zn Excel VBA 1 August 4th, 2007 05:06 PM
Factorial of numbers 1 to 5 sivakak Javascript 1 May 24th, 2007 09:31 AM
Sequential Numbers ricespn Access 5 February 17th, 2007 02:54 AM
Exponential form?!?!?!?! RichHartmann Forum and Wrox.com Feedback 3 November 15th, 2006 05:36 PM
displaying in exponential format austinf Java Basics 0 November 6th, 2006 11:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.