11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RECORDLOCKU<br />

Syntax<br />

RECORDLOCKU [file.var,] record.ID.expr [ON ERROR statements]<br />

[LOCKED statements]<br />

Description<br />

The <strong>UniBasic</strong> RECORDLOCKU command checks for record locks. If the record is<br />

available, it sets an exclusive lock on the record. For an explanation of UniData locks,<br />

and for a sample program that you can use to test this command, see Developing<br />

<strong>UniBasic</strong> Applications.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

1-668 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

file.var, Specifies the file from which to read the record.<br />

If you do not specify a file.var, UniData reads from the default<br />

file. If no default file is open, a fatal error occurs.<br />

The default file is one for which no file variable is assigned in<br />

the OPEN statement.<br />

RECORDLOCKU Parameters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!