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.

READVU<br />

Syntax<br />

READVU var FROM [file.var,] record.ID.expr, attribute.expr<br />

[ON ERROR statements] [LOCKED statements] {THEN statements [END] | ELSE<br />

statements [END]}<br />

READVU var FROM [file.var,] record.ID.expr, attribute.expr<br />

[LOCKED statements] [ON ERROR statements] {THEN statements [END] | ELSE<br />

statements [END]}<br />

Description<br />

The <strong>UniBasic</strong> READVU command assigns the data from an attribute of a record to<br />

a variable. READVU checks for locks. If the record is available, it sets an exclusive<br />

lock before it reads the record.<br />

Tip: You can improve efficiency by using the READVU command when you need only<br />

one or two attributes from a record. If more attributes are necessary, or if you need<br />

to update more attributes, use the READU or MATREADU commands.<br />

<strong>UniBasic</strong> locks are advisory only. For more information, see Developing <strong>UniBasic</strong><br />

Applications.<br />

READVU 1-653

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

Saved successfully!

Ooh no, something went wrong!