Parameter | Description |
---|---|
iFile | Number of the table in the current filelist |
iRecnum | Record number (RECNUM) of the record to find |
Procedure Find_By_Recnum Integer iFile Integer iRecnum
Call: | Send Find_By_Recnum iFile iRecnum |
This method is obsolete as it can only be used with tables that support recnum. The FindByRowId method should be used in its place.
The Find_By_Recnum procedure finds record in specified table with record number equal to the passed in record number. If it is found, it relates. This sets Found indicator. It then affects the Current_Record of this object, and notifies any connected DataDictionary objects (DDOs) of the change. This is sent by lists and grids to find a record for a particular row.
This sample would find record number 3 for the Customer table.
Send Find_By_Recnum of Customer_DD Customer.File_Number 3
Data Dictionary SQL Filters cannot be used with this method. See pbUseDDSQLFilters for a list of methods that can use DD SQL filters.
Find_by_Recnum is not re-entrant. Once a major Data-Dictionary operation (save, find, delete, clear) has begun you cannot start another major operation. The reentrancy restriction applies within DDO structures and across DDO structures.
See Also