I already check the result is always FALSE; I used PostGreSQL 8.0 and WinXP 
Home Edition.
     ShowMessage(BoolToStr(SQLQuery1.Locate('kd_pic', 
Edit1.Text,[loCaseInsensitive,loPartialKey]),TRUE));


=============INTOSOFT============

           ALEXIO CHAOS

   [email protected]   

          Yahoo Messager

=================================

--- On Sat, 12/27/08, Joost van der Sluis <[email protected]> wrote:
From: Joost van der Sluis <[email protected]>
Subject: Re: [Lazarus] Locate Dataset
To: [email protected], "General mailing list" 
<[email protected]>
Date: Saturday, December 27, 2008, 3:33 AM

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.






      
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to