Jump to content


Cacki

Member Since 20 Aug 2012
Offline Last Active Jan 25 2020 09:00 PM
-----

Posts I've Made

In Topic: Filter between two Dates?

26 April 2014 - 08:19 PM

Hallo Boki


this is the solution that I have used
//Between
nextgrid1.BeginUpdate;
for i:=0 to nextgrid1.RowCount-1 do
if (nextgrid1.CellByName[1,i].AsDateTime<(calendar1.Date))or (nextgrid1.CellByName[1,i].AsDateTime>(calendar1.EndDate))then
nextgrid1.RowVisible[i]:=false;
nextgrid1.EndUpdate;

Regards