Microsoft
Software
Hardware
Network
Question : check if record is already locked
When a user retrieves a record, I would like to be able to check if the record has been locked by someone else. If not, I want to be able to lock it, run an update statement if needed and release the record again. I want that check to be done when the data is retrieved, regardless of whether the user chooses to change something on the form.
Which trigger should I use and how do I go about checking whether the record can be reserved or not?
Answer : check if record is already locked
if u use an "for update NOWAIT" in sql statement, THEN IT raise an exception saying it is locked, otherwise continue with updation.
Random Solutions
Why don't Lotus Notes document links work when sent to MS Outlook emails.
Email sent to Tiscali email addresses bouncing with No PTR record error
why avoid system tables?
Running RMI on Tomcat Servlet - How do I set up RMISecurityManager?
Setting up airport express - what are dns servers?
Iphone Can't get Exchange mail on LAN but ok on 3G.
Code was working in Android 2.1 SDK but not on 2.2
snoop command with IP Clustered
Importing a text file into Access
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?