A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Part Numbers Change after Importing



 
 
Thread Tools Display Modes
  #1  
Old November 29th, 2006, 08:41 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Part Numbers Change after Importing

Create a new table that has all the fields needed to import the Excel
spreadsheet. Make sure that the problem fields are text datatype. Import into
this new table first. Then append the records from this table into where they
finally go. Delete all records from the new table so that it is ready for the
next import.
Or
Another option is to create a dummy row in Excel. It will be either the
first row or second row if you have a header row. Put alphabetical characters
into the problem fields in this row. After importing the spreadsheet, delete
the bogus record from the table.
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Nanette" wrote:

I have an Excel spreadsheet that I imported into Access. Some of the data
(Part Numbers) are coming in strange.

The part number in Excel (9000175) turns into 9.0002e+006 once imported into
Access. The part numbers are in text format in Excel and Access because some
of the part numbers include letters i.e. BNC-1111.

Is there an easy way to clean up the Excel or Access doc?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.