Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 11:14 AM
praz
Guest
 
Posts: n/a
Default cannot import delimited text programmatically (macros) with automatic primary key generation

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.


  #2  
Old November 13th, 2005, 11:16 AM
Chuck Grimsby
Guest
 
Posts: n/a
Default Re: cannot import delimited text programmatically (macros) with automatic primary key generation

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:[color=blue]
> 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.[/color]

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.