[Lazarus] locate command for dBase
wkitty42 at windstream.net
wkitty42 at windstream.net
Fri May 26 13:26:28 CEST 2023
On 5/25/23 8:12 PM, john Ward via lazarus wrote:
> if
> temp.Locate('temp_no', (tempid),[loPartialkey])
> then
> begin
>
> showmessage('we found the field or Partial' + tempid);
> showmessage('current temp_no is ');
> tno := temp.FieldbyName('temp_no').asString;
> showmessage('tempno is = ' + tno);
> end;
> The above code, executes the 'then', shows me what was searched for BUT when a
> data field is displayed, the original record is pointed to, NOT a record further
> in the database.
i don't see where you did a seek to the record you are trying to get to...
granted, it has been a long while since i did anything with FPC/Lazarus or an
dBase databases but it would seem there should be an obvious seek action... maybe...
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list where it belongs!*
More information about the lazarus
mailing list