Finds the last record in a table based on the current key and filter.

[Ok :=] RecordRef.FINDLAST

Parameters

RecordRef

Type: RecordRef

The recordref that refers to the table in which you want to find the last record.

If the record is found, it is returned in RecordRef and any FlowFields in the record are set to zero. You must update any FlowFields using CALCFIELDS Function (Record).

If the record is not found and if you omitted the return value, a run-time error occurs.

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also