Hi, all. I'm using the SFLRNA keyword on a subfile used for data edit and entry, leaving a bunch of "inactive" records (for entry) following the records my program has filled (for edit).
Is there a way to determine whether a particular record (using its RRN) is currently "Active"?
One thought: CHAIN to a record and test %FOUND. Any other magical BIFs or methods?
If a program must modify a subfile record, an active record requires the UPDATE operation, but a new record requires the WRITE operation. It gets particularly interesting if the user decides to add new records on non-contiguous lines.
TIA,
Jerry Gloekler
MFCD, LLC
Is there a way to determine whether a particular record (using its RRN) is currently "Active"?
One thought: CHAIN to a record and test %FOUND. Any other magical BIFs or methods?
If a program must modify a subfile record, an active record requires the UPDATE operation, but a new record requires the WRITE operation. It gets particularly interesting if the user decides to add new records on non-contiguous lines.
TIA,
Jerry Gloekler
MFCD, LLC
Comment