Finding Paradox records from witnin Delphi
Posted on 1998-06-12
I have a paradox 7 table with two keys, the primary key is a field called ID and the secondary key is a field called CWWORD. I have a normally edit component on a form in which the user enters the word they want to search for.
What need to do is determine whether the record exists.
This is what I think is the correct method of doing this :)
Table.Active := True;
Table.IndexName := CWWORD;
if Table.FindKey(Edit.Text) then
record not found;
This piece of code doesn't work but but I know it's something similiar. Can you help ?