You can use parameter in a WHERE clause so that the query result can vary each time according to the entered parameter value(s). See the following example.

Notes:
'asdfsakdf','aksdfashdlf','asdfjkasdfalk'...
If the data type is a number, the parameter value should be like:
12,34,56,...
Now, what if you do not want to enter a parameter value when viewing the report result, so that all records will be fetched out? To achieve this goal, you can use a formula along with the parameter.
Take the following steps with the report created above:
|
Where, Parameter1 is the just created parameter, and State is the DBField of the query CustomersInfo with which you want to filter the records.