I am attempting to create a module that I can call to create a new field in my temp table that will be an autonumber, and then assigned that new field as the primary key. I have been search high and low for the code, it seems like an easy task but haven't solved the problem yet. Here is the current scenario: I import an text file of numbers, once imported, I need to assign a unique (autonumber) value to each number imported, starting with 1 to however many numbers were imported and maintain the order in which the numbers were imported!!! Hopefully this isn't too confusing....Th anks again
Using VB Code, create an Autonumber and then create a primary key on that field...
Collapse
X
Comment