TdxCustomMemData.GetRecNoByFieldValue(Variant,string) Method
In This Article
The GetRecNoByFieldValue method returns a record number by a specific field value.
#Declaration
#Parameters
Name | Type |
---|---|
Value | Variant |
Field |
string |
#Returns
Type |
---|
Integer |
#Remarks
Call the GetRecNoByFieldValue method to obtain a specific RecNo. Use the Value and FieldName parameters to specify the required RecNo. If an applicable record is not found, the GetRecNoByFieldValue returns -1. If there is more than one record with a specific value, the RecNo of the first record is returned.
See Also