Using Locate on 2 fields 
Author Message
 Using Locate on 2 fields

Hello Jimmy,

Try this:

Table.SetKey;
Table.FieldByName('Field1').Value:=KeyForField1;
Table.FieldByName('Field2').Value:=KeyForField2;
...
Table.FieldByName('FieldN').Value:=KeyForFieldN;
Table.GotoKey;

Have luck,
                   Niel



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Using Locate on 2 Fields

2. Help : Using LOCATE with multiple fields

3. Help using the TTable.Locate command

4. Help using LOCATE with delphi 3.02

5. Problems using DATASET.LOCATE

6. Using Locate method in Delphi 2

7. Using 'Locate' on MSSQL tables

8. Using locate on non-keyfields

9. Locate next using bookmark on paradox7 table

10. Problems using Locate with a query...

11. Problem with BDE and SQL Server using Locate/FindKey

12. Using SQL to locate...

 

 
Powered by phpBB® Forum Software