Find_By_Recnum - BaseData_Set

Finds record in specified table with record number equal to the passed in record number

Type: Procedure

Parameters: Integer iFile Integer iRecnum

ParameterDescription
iFileNumber of the table in the current filelist
iRecnumRecord number (RECNUM) of the record to find


Syntax
Procedure Find_By_Recnum Integer iFile Integer iRecnum

Call: Send Find_By_Recnum iFile iRecnum


Description


Obsolete

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.

Sample

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

Data Dictionary SQL Filters cannot be used with this method. See pbUseDDSQLFilters for a list of methods that can use DD SQL filters.

Notes

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

Find and Clear Operations in DDOs | FindByRowId