Get AutoNumber from Access Table when Adding Record

Added By: unimaetrix

Rated:
(3 of 5) by 6.
Thank you for rating this snippet.
Description:  Use this bit of code to get the autonumber (ID) when adding a record to your access database table. You need to include the adovbs.inc file, and set the connection to your database. This sample code id from a forum I'm building.
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: