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!

Get record # for record just witten or being written?

Status
Not open for further replies.

CraigBest

Programmer
Aug 1, 2001
545
US
Hi - I am writing a record to a table on an Access 2003 DB using JET. The table has an autonumber Record ID that gets attached to each record as it gets written. I'd like to know if there is a way to get back the record number for the record I am writing or just wrote during an insert query?

Thanks

Craig

CraigHartz
 
@identity should work. Just Google it to see how it's used.
 
Okay thanks - Haven't had a chance to try it yet but it sounds promising.

CraigHartz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top