User Tools

Site Tools


nomemo_read_file_record_without_reading_memo_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== NOMEMO (read file record without reading memo) ====== Previous pageReturn to chapter overviewNext page

NOMEMO(file)

blk2blue.jpg

NOMEMO Arms “memoless” record retrieval.
file The label of a FILE.

The NOMEMO statement arms “memoless” record retrieval for the next GET, REGET, NEXT, or PREVIOUS statement encountered. The following GET, REGET, NEXT, or PREVIOUS gets the record but does not get any associated MEMO or BLOB field(s) for the record. Generally, this speeds up access to the record when the contents of the MEMO or BLOB field(s) are not needed by the procedure.

Example:

SET(Master)

LOOP

NOMEMO(Master)              !Arm “memoless” access

NEXT(Master)                !Get record without memo

IF ERRORCODE() THEN BREAK.

Queue = Mst:Record          !Fill memory queue

ADD(Queue)

IF ERRORCODE() THEN STOP(ERROR()).

END

DISPLAY(?ListBox)            !Display the queue

See Also:

GET

NEXT

PREVIOUS

MEMO

nomemo_read_file_record_without_reading_memo_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1