See Also: RowId, RowId Helper Functions
Used to determine if two RowId values are the same.
(IsSameRowID( {RowId}, {RowId} ))
Where:
{RowId} is a value of type RowId
Function RefindLastRecord returns Boolean
RowId riCustomer
Boolean bFound
Get priLastRow to riCustomer // the RowId record we want to refind
// only refind the record if the current record's RowId is different
If not (IsSameRowId(GetRowId(Customer.File_Number), riCustomer)) begin
Move (FindByRowID(Customer.File_Number, riCustomer)) to bFound
End
Function_Return bFound
End_Function // RefindLastRecord
IsSameRowID returns true if the two RowIDs passed are the same. This function can be used to determine if a row has changed. It can also be used to optimize row finding by not refinding a row if it is already loaded.