FINDLAST Function (Record)
Finds the last record in a table based on the current key and filter.
If the record was found, it is returned in this parameter and anyin the record are set to zero. You must update the FlowFields by using the .
If the record was not found and if you omitted the return value, a run-time error occurs.
This example requires that you create a Record variable named GLEntryRec for the G/L Entry table.
// Read the last record only. IF GLEntryRec.FINDLAST THEN …