[Lazarus] Locate Dataset

Joost van der Sluis joost at cnoc.nl
Sat Dec 27 12:33:12 CET 2008


Op woensdag 24-12-2008 om 10:19 uur [tijdzone -0800], schreef Darmawan
Sugiarto:
> Why I can used function locate at dataset.
> this my code
> SQLQuery1.Locate('kd_pic',
> Edit1.Text,[loCaseInsensitive,loPartialKey]);

We need some more information to help you. What does happen if you use
the code above?

If the result of the Locate function is false, nothing is found. If it's
true it is found and the current record should be set to the found
record.

Did you check the result of the Locate?

Joost.






More information about the Lazarus mailing list