When I run:
Var
Fnd: Boolean;
Begin
Fnd := MyQuery.Locate('MyIdx', 'MyValue', []);
If Fnd = True Then
ShowMessage('Record Found')
Else
ShowMessage('Record Not Found');
I get a message "Record Found" but the record doesn't change in the form.
Now in Delphi when I used the locate method, I would put in the third parm:
[loPartialkey]
But Lazarus gives me an error when I do that "Identifier not found".
Oh, I am running FC8 and Lazarus 0.9.26 and am using MySQL.