Hello -
I have a txt file that I need to import into a table in Access. I have created an import spec, but the file doesn't have a pk. I need one in the table but the file will not import (using a macro) because the fields are not the same. Now, I can do it manually because it asks me if I need on, specify my own or don't need one. That just creates an ID field in the table and the problem comes around again because the file doesn't match. How can I get a pk using autonumber on an import like this?
I have a txt file that I need to import into a table in Access. I have created an import spec, but the file doesn't have a pk. I need one in the table but the file will not import (using a macro) because the fields are not the same. Now, I can do it manually because it asks me if I need on, specify my own or don't need one. That just creates an ID field in the table and the problem comes around again because the file doesn't match. How can I get a pk using autonumber on an import like this?