Table of Contents

Getting Started with TMS FNC Filter Dialog

Use TTMSFNCDataSetFilterDialog when users need to build and apply a dataset filter through a dialog instead of writing filter text manually.

Create a Dataset Filter Dialog

  1. Drop TTMSFNCDataSetFilterDialog on the form.
  2. Assign an active TDataSet to DataSet.
  3. Optionally set FilterText for an initial expression.
  4. Call Execute to show the dialog.
TMSFNCDataSetFilterDialog1.DataSet := ClientDataSet1;
TMSFNCDataSetFilterDialog1.FilterText := ClientDataSet1.Filter;
TMSFNCDataSetFilterDialog1.Execute;

Next Steps

Task Guide
Apply dataset filters from the dialog Dataset filtering
Customize apply, cancel, clear, and formatting behavior Dataset filtering