SQL Server with Access Articles, tips and tricks
Inserting a record in SQL Server and retrieving key ID
There are many ways to insert records and retrieve that record key value, this approach will probably be among the quickest since all the processing occurs on the server, not in Access. The technique uses ADODB recordsets to fetch records from SQL Server. CODE: Private Function CreateDatabaseRecord( [...]