Menu

#86 Locate

Win32/Linux
open
nobody
None
5
2016-04-01
2016-04-01
No

Locate does not work as it should.
Locate(Fieldname,Value,TLocateOptions);
When Fieldname is the first physical field in the database it works fine.
For any other Fieldname I get an access violation exception.
It is located in the function TDbf.LocateRecordLinear

{$ifdef SUPPORT_GENERICS_FIELDLIST}
lstKeys := TList<TField>.Create;
{$else}
lstKeys := TList.Create;
{$endif}

Anyone who knows about this and how to fix it?

Ivar Suneson
ivar@iware.se

Discussion


Log in to post a comment.