lxNearest unknown

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
softbox
Posts: 1
Joined: Mon 19 Apr 2010 14:36

lxNearest unknown

Post by softbox » Mon 19 Apr 2010 15:25

I try to use LocateEx to find nearest record with the lxNearest option but for some reason the compiler doesn't know the option.

uses
..., MemDS, VirtualTable;
.
.
.
tbLightData.LocateEx('Angle', angle, [lxNearest]);


Have anyone tried to use TMemDataSet.LocateEx?

Uffe

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 21 Apr 2010 09:17

To solve this problem you should add the MemData unit to the uses clause of the unit where the error arises.

Post Reply