Skip to main content

TdxBarDateCombo.Date Example

This example demonstrates how to filter a table by a date selected using a TdxBarDateCombo.

procedure TForm1.dxBarDateCombo1Change(Sender: TObject);
begin
  Datasource1.Dataset.Filter := 'Event_Date = ' + DateToStr(dxBarDateCombo1.Date);
  Datasource1.Dataset.Filtered := True;
end;