GetRowId
See Also: RowId, RowId Helper Functions
Purpose
Returns the RowId of the currently buffered row of a database table.
Return Type
Syntax
(GetRowId({hTable}))
Where:
- {hTable} is the table number of some open database table.
Example
Procedure GetRecord
RowId riCustomer
Find GT Customer by 1
If (Found) Begin
Move (GetRowId(Customer.File_Number)) to riCustomer
Set priLastRow to riCustomer
End
End_Procedure
Notes
-
GetRowId returns the RowId of a table as a RowId data type. Attempting to place a RowId value into some other data type will result in a runtime error.
-
If the table does not have any row buffered, the returned RowId value will be null. Using the IsNullRowId function can test for this condition.