Oledb Jet

  • Thread starter Thread starter Sal
  • Start date Start date
S

Sal

Hello All,
In using SQLClient I can add a record in a table and retrieve the Autonumber
Primary Key field of the record added in a single parameter query by
declaring the parameter as an Output parameter.

How can I retrieve the autonumber primary key added using System.Data.Oledb
when the provider is Jet?

Any help would be greatly appreciated.

Sal Sarhangi
 
Is the the way described in the article i.e using "SELECT @@IDENTITY" valid
also with Access 97??

rgds,

mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top