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

Last inserted id

Status
Not open for further replies.

melaniecarr23

Programmer
May 2, 2005
79
US
Is there a way to use the last inserted id from a table in a query?

thanks,
Melanie Hayes
 
If the ID is an autonumber you may consider the DMax function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
as long as the db is STRICTLY single user. Otherwise, it is better to create your own and just save it for your immediate use. One way to do so is illustrated in faq700-184.





MichaelRed


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top