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?