Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xunlock()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XUNLOCK()
Release most recent N_XRLOCK() in current table, or all tables

Syntax
N_XUNLOCK([<lAll>])

RDD
Use UNLOCK or DBUNLOCK()

Argument
<lAll>, if .T., releases all locks in all tables open at the current 
station. If .F., or if the argument is omitted, then the current N_XRLOCK() 
issued in the current area is released.

Remarks
It is not possible to unlock selected records.
Locks applied by other stations are not affected.

Example
DO WHILE !N_XRLOCK()  && lock record
ENDDO
N_XREPLACE()
N_XUPDATE()           && write out data
N_XUNLOCK()


See Also: N_XRLOCK()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson