Table of Contents

TMS FNC Filter Dialog Guides

TTMSFNCDataSetFilterDialog presents an interactive dialog that lets users build complex dataset filters without writing filter expressions by hand. It inspects the fields of the assigned dataset, builds a filter UI automatically, and returns the resulting filter expression as a string you can apply directly to DataSet.Filter.

Topics

Topic Use when
Dataset filtering You need users to build dataset filters interactively and apply the generated filter text.

Key properties

Property Purpose
DataSet The TDataSet descendant whose fields populate the filter dialog.
FilterText The filter expression produced after the user confirms the dialog.
Execute Shows the dialog modally; returns True when the user clicked OK.
Title Customise the dialog title bar text.
OnCustomizeFilter Allows programmatic modification of the generated filter string before it is returned.

See also