TableSetRecordNo |
Top Previous Next |
Prototype
IntRecord:=TableSetRecordNo(intTableHandle, intNumber)
Description
It places on a record in a table.
Parameters
IntTableHandle: integer value corresponding to the table handle.
intNumber: integer value representing the record number we want places on.
Returned value
IntRecord: integer value representing the record number on which is placed .
Notes
If we want place on the 205th record of a table (intNumber=205) but the table has only 200 records, the returned value will be 199 (IntRecord=199).
Example
//It opens a table OneTable:=TableOpenBDE('INVOICE','Customer','','');
//it places on the table 6th record IntRecord:=TableSetRecordNo(OneTable,6);
if IntRecord=6 then begin // It executes some operations end; |