Link to home
Start Free TrialLog in
Avatar of Steve Bohler
Steve BohlerFlag for United States of America

asked on

Retrieve Field value of newly inserted record

I'm running a VBScript application which inserts a record into a table.
Scheme:
UserID (Identity field that auto increments for each insert)
Name
Email

I'd like to get the UserID of the newly inserted field.

How best can I achieve that?

Thanks in advance.
SOLUTION
Avatar of Nitin Sontakke
Nitin Sontakke
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Steve Bohler

ASKER

Thank you.

I was able to find and tweak this code to get it done:

http://www.4guysfromrolla.com/webtech/100598-1.shtml

Steve