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
coins - why only side is shown
DMZ access to Public URL which NAT'ed to internal OWA host
Server 2008 R2 DC File Permissions
Calendar Control in Excel 2003 VBA
Wrong favicons displayed on desktop & favs
SBS 2008 shared folder permissions problem - read only - need full control
Private WAN
Spread sheet formula to reference entire row/column, or at least the number of rows/columns available
Windows Service crashing on one machine, not on the other
How to undelete public folder content on MS Exchange Server 2000