|
-
Oct 12th, 2000, 04:14 PM
#1
Thread Starter
Member
I have the following code, within the same ASP session, I can't seem to get the InvID after I add it into the SQLServer. Is there Anyway I can get the value of InvID without futher coding?
Thanks
Set rsContact = CreateObject("ADODB.Recordset")
Set rsContact.ActiveConnection = objConn
rsContact.Locktype = 2
rsContact.AddNew
rsContact.Update
InvID = rsContact("InvID")
-
Oct 31st, 2000, 10:14 AM
#2
Addicted Member
what are u trying to do?
get the next id from the database?
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
|