Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jsp with access database

Status
Not open for further replies.

RegK

Programmer
Jan 24, 2003
2
GB
how do i get the autonumber generated in a table by an insert query.

I have tried a select statement with comparisons to the data i have added just after the insert query but this does not seem to work.

It works when i reload the page but at this stage the data has been inserted twice into the database with different autonumber ids.
 
>>I have tried a select statement with comparisons to the
>> data i have added just after the insert query but this
>> does not seem to work.

That should work... try the Access forums here at Tek-tips "if ur going to get flamed... u may as well post something flame worthy eh?" - me - 12 Feb '03

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top