|
-
Oct 13th, 2000, 03:40 PM
#1
Thread Starter
Addicted Member
Using Access 2000, Visual Basic, ADO 2.1...
Does anyone know how to get the primary key of a record that was just inserted? The table contains a autonumber primary key, and I want to give that primary key back to the person to serve as a "ticket number".
Can I do something like adoRset("@@IDENTITY").Value or something to get this number?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|