<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I already check the result is always FALSE; I used PostGreSQL 8.0 and WinXP Home Edition.<br> ShowMessage(BoolToStr(SQLQuery1.Locate('kd_pic', Edit1.Text,[loCaseInsensitive,loPartialKey]),TRUE));<br><br><br>=============INTOSOFT============<br>
ALEXIO CHAOS<br>
Darmawan_Sugiarto@yahoo.com <br>
Yahoo Messager<br>
=================================<br><br>--- On <b>Sat, 12/27/08, Joost van der Sluis <i><joost@cnoc.nl></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Joost van der Sluis <joost@cnoc.nl><br>Subject: Re: [Lazarus] Locate Dataset<br>To: darmawan_sugiarto@yahoo.com, "General mailing list" <lazarus@lazarus.freepascal.org><br>Date: Saturday, December 27, 2008, 3:33 AM<br><br><pre>Op woensdag 24-12-2008 om 10:19 uur [tijdzone -0800], schreef Darmawan<br>Sugiarto:<br>> Why I can used function locate at dataset.<br>> this my code<br>> SQLQuery1.Locate('kd_pic',<br>> Edit1.Text,[loCaseInsensitive,loPartialKey]);<br><br>We need some more information to help you. What does happen if you use<br>the code above?<br><br>If the result of the Locate function is false, nothing is found. If it's<br>true it is found and the current record should be set to the
found<br>record.<br><br>Did you check the result of the Locate?<br><br>Joost.<br><br><br><br></pre></blockquote></td></tr></table><br>