UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Why do I get #NUM! errors on some fields when importing from an    
 
   
Qualitygeek
post Oct 26 2007, 02:15 PM
Post #1

New Member
Posts: 15



I am importing a small (50 Rows X 25 Columns) Excel spreadsheet into Access. All of the cells on the spreadsheet are formatted as "Text". Ninety-nine percent of the spreadsheet fields come into Access correctly. The remaining fields come in as the #NUM! error. The fields surrounding the error fields are correctly populated, with no blank fields or missing information. All the Access field properties are set as text, 255. The error occurrs sporadically across the spreadsheet. I tried changing the format from @ to & witihout any change to the import.
The exact same text successfully imported in one field, will give the #NUM! error in the next one.

What am I doing wrong?
Thank you in advance.
Go to the top of the page
 
+
Dragyn
post Oct 26 2007, 02:56 PM
Post #2

UtterAccess Addict
Posts: 152
From: Omaha, NE



Excel and Access don't always play nicely when you're importing into Access.

Since Access doesn't let you define an imported field's data type, it can be a challenge to get it imported. What I normally do is to use a tab-separated .txt file saved out of Excel and then set up an import spec in Access that sets the data types/sizes at that point. This gets past any data typing issues and allows the data to import without problems.
Go to the top of the page
 
+
Qualitygeek
post Oct 28 2007, 07:21 AM
Post #3

New Member
Posts: 15



Thank you for the help. It works fine now.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th June 2013 - 02:38 AM