lxNearest unknown

lxNearest unknown

Postby 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
softbox
 
Posts: 1
Joined: Mon 19 Apr 2010 14:36

Postby 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.
Dimon
Devart Team
 
Posts: 2885
Joined: Mon 05 Mar 2007 16:32


Return to VirtualDAC