By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,068 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

cannot import delimited text programmatically (macros) with automatic primary key generation

P: n/a
Hi,

I am trying to import a delimited text file using a macro. The problem
is i am not able to generate a Primary key (Let access add primary
key). I have tried saving the import specs using the import wizard and
specifying the same in the macro, but when I run the macro, the text
file is imported without the ID field (Primary key field).

Please any help appreciated.

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Don't import to a new table, creating the table as you go along.

Instead, import to an _existing_ table, and you're done!

praz wrote:
I am trying to import a delimited text file using a macro. The problem
is i am not able to generate a Primary key (Let access add primary
key). I have tried saving the import specs using the import wizard and
specifying the same in the macro, but when I run the macro, the text
file is imported without the ID field (Primary key field).
Please any help appreciated.


Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.