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