You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to import a .txt that I exported using Access 2010 I get the following error: Error importing data: Error in statement #1: near "33". Syntax error. Aborted execution.
This is line 1 in the txt file: 33,"Purchase",6/29/1998 0:00:00,$12312.00
Line 1 is the first row and "33" is the record ID of the first record.
Also, how come the import .csv grayed out?
Just to confirm, did you import this using the 'File | Import | Table from SQL File' ?
If so, did you then get a screen showing a sample of your data? eg:
'File | Import | Database from SQL file' wouldn't work, as I assume would give the above error...
You need to create your blank database first, and create the fields the data is going to be imported into.
The export from Access is just the data, and not the schema on how to build a database table.
Activity
chrisjlocke commentedon Nov 19, 2016
What's line 1 in the file, or could you email it to me?
JamesJoey commentedon Nov 19, 2016
This is line 1 in the txt file: 33,"Purchase",6/29/1998 0:00:00,$12312.00
Line 1 is the first row and "33" is the record ID of the first record.
Also, how come the import .csv grayed out?
chrisjlocke commentedon Nov 19, 2016
Just to confirm, did you import this using the 'File | Import | Table from SQL File' ?
If so, did you then get a screen showing a sample of your data? eg:
'File | Import | Database from SQL file' wouldn't work, as I assume would give the above error...
You need to create your blank database first, and create the fields the data is going to be imported into.
The export from Access is just the data, and not the schema on how to build a database table.
JamesJoey commentedon Nov 19, 2016
That was it.
I needed to create a new db with the fields to import to.
Thanks much,
James
chrisjlocke commentedon Nov 19, 2016
\o/
No problem. Guess its not that intuitive if you're used to other systems. Something else to add to the wiki... ;) Glad you got it in the end. :)