Skip to main content
Version: Next

POP RECORD

POP RECORD {( aTable )}

ParameterTypeDescription
aTableTable🡒Table for which to pop record, or Default table, if omitted

Description

POP RECORD pops a record belonging to aTable from the table’s record stack, and makes the record the current record.

If you push a record, change the selection to not include the pushed record, and then pop the record, the current record is not in the current selection. To designate the popped record as the current selection, use ONE RECORD SELECT. If you use any commands that move the record pointer before saving the record, you will lose the copy in memory.

Example

The following example pops the record for the customer off the record stack:

 POP RECORD([Customers]) // Pop customer’s record onto stack

See also

PUSH RECORD
Using the Record Stack