AutoNumber in Query

G

Guest

I am linking to a SQL table via ODBC. I want to use an append query to insert data into a table that has a keyid field

The keyid field just must be unique and does not have any true relationship with the data

Can I use an "autonumber" approach? Is there a function that returns an autonumber value

If not, what other technic could I use

THANKS

MEG
 
N

Nikos Yannacopoulos

Meg,

If your keyid field is autonumber you need not worry much about it in the
append query; that is to say, append all the other fields (leaving the keyid
field out of the query altogether), and the autonumber will assign the keyid
values on its own.

HTH,
Nikos

MEG said:
I am linking to a SQL table via ODBC. I want to use an append query to
insert data into a table that has a keyid field.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top