Filtering operation not processed

DomiDomi Belgium
edited 1:24AM in FastReport .NET
Hi,

I have modifed the "Cascaded Data Filtering.frx" example when I have removed nearly all except the Employees combo (have removed orders, orders detail and products);
the combo is filled correctly with the employee name but I don't understand why, in the report, no filtering is done and all employees are listed !
I expected just the employee selected in the combo.
this is a basis test of course.

FR_filter_1.jpg

FR_filter_2.jpg

thanks for any help,
Domi.

Comments

  • Hello!

    Check the properties of the ComboBoxControl on the DialogPage:

    Make sure that AutoFill = true and AutoFilter = true.

    Check the DataColumn: it must point to a column in the same data source to which the DataBand on the report page is bound (for example, Employees.LastName or Employees.EmployeeID).

    Clear the DetailControl property if it still refers to a remote control.

    Make sure that FilterOperation is set correctly (for example, Equal).

    Check DataBand.Filter:

    Select the DataBand in the report and check the Filter property. If it still contains an expression that references remote tables, or if you are not using AutoFilter, set the filter explicitly, for example: [Employees.LastName] == [ComboBox1.Text]

    Check the Code tab (report script):

    Make sure there are no remaining dialog event handlers that reassign the filter or reference remote components.

This discussion has been closed.