Home | Advertising Info101 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, October 27, 2016  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: recordset locking?
From: Ryan
Date: 10/13/1999 7:08:55 PM


I am currently selecting from a keytable. After the key is selected Im trying to incriment the key by a value of one.

Here is an example:

SQL = "SELECT key FROM getkey WHERE table = hello"
Set KeyTable = ObjConn.Execute(SQL)
UserID = KeyTable("key")
NewKey = CInt(KeyTable("key")) + 1
SQL = "UPDATE getkey SET key = " & NewKey & " WHERE table=hello"
Set NewKeyTable = objConn.Execute(SQL)
Set KeyTable = Nothing
Set NewKeyTable = Nothing

Multiple users will be accessing the page that performs the above SQL statements. What is the best method to lock a user from selecting the same recordset that another user is updating?

Follow Up - Re: recordset locking? - kal 10/18/1999 1:48:45 PM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2016 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com