11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

READNEXTTUPLE<br />

Syntax<br />

READNEXTTUPLE dyn.array.var FROM file.name.expr {THEN<br />

statements [END] | ELSE statements [END]}<br />

Description<br />

The <strong>UniBasic</strong> READNEXTTUPLE command assigns the next entire record to a<br />

variable. The record ID is obtained from an active select list that was created by a<br />

UniData SQL SELECT statement during the current work session.<br />

READNEXTTUPLE creates a dynamic array delimited by attribute marks (@AM).<br />

The attribute marks are entered by the UniData SQL SELECT statement.<br />

Tip: Do not use the UniData SQL UNNEST command in the SQL statement that<br />

creates the ID list. UniData might not return the entire record with attribute marks,<br />

value marks, and/or subvalue marks if you use UNNEST.<br />

1-632 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!