Hi,
I am building a site which runs on an access db - i have a page which creates a new record and adds into db. This all works ok. One of the columns in the db is the tables primary key (an autonumber).
When i run the insert, is there an easy way to retrieve this number, so i can redirect the user to another page which displays the new record (selected from querystring)
OR
would i have to run through all existing records, find the last one, then add 1
Many thanks
boro
I am building a site which runs on an access db - i have a page which creates a new record and adds into db. This all works ok. One of the columns in the db is the tables primary key (an autonumber).
When i run the insert, is there an easy way to retrieve this number, so i can redirect the user to another page which displays the new record (selected from querystring)
OR
would i have to run through all existing records, find the last one, then add 1
Many thanks
boro