PDA

View Full Version : Getting previously inserted auto id


Roost3r
05-14-2003, 07:27 PM
Hi, any way to get the id of a auto incrementing field that was just inserted? tia

whammy
05-14-2003, 07:37 PM
Are you using SQL Server? If so check this out:

http://www.kamath.com/tutorials/tut007_identity.asp

Roost3r
05-14-2003, 08:04 PM
im using access

whammy
05-14-2003, 08:23 PM
Ok, this might help then:

http://www.flws.com.au/showusyourcode/codeLib/code/AddNew.asp?catID=3

:D