Skip to main content
Version: Next

PUSH RECORD

PUSH RECORD {( aTable )}

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

Description

PUSH RECORD pushes the current record of aTable (and its subrecords, if any) onto the table’s record stack. PUSH RECORD may be executed before a record is saved.

If you push a record that was unlocked, this record stays locked for all the other processes and users until you pop and unload it.

Compatibility note: Beginning with version 11 of 4D, this command no longer supports subtables.

Example

The following example pushes the record for the customer onto the record stack:

 PUSH RECORD([Customer]) // Push customer’s record onto stack

See also

POP RECORD
Using the Record Stack