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