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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access record number

Status
Not open for further replies.

hksr

MIS
Sep 26, 2003
30
0
0
HK
I have a microsoft access database, there is a record number that assign by the system itself. How can I extract record with that record number.
 
that can be done in sql server like this, i dont know if it can be done in access but try it:

sql="select @@identity as id"
rs.open sql,con
response.write rs(0)

this code must come after the insert query...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top