Please enable JavaScript to view this site.

thankQ Help

Navigation: CUSTOM REPORTING > TQ Reporter > Add Parameters to Report

Edit Report to use Field List Parameters

Scroll Prev Top Next More

Filters can be setup inside the report or outside the report. The report will build faster if the filtering is run before the report builds.

Once you have created parameters under Field List these can be inserted in the filters of the report before the report builds.

1.Click on Report Explorer on the right

2.Right click on sqlDataSource1 under Components

3.Select Manage Queries

TQ2REP~1_img96

4.Click on the … ellipsis button

TQ2REP~1_img97

5.Click Run Query Builder

TQ2REP~1_img98

6.Click Filter at bottom on form

TQ2REP~1_img99

7.Click the + beside And

8.Click on the Table and select the field to filter e.g. Date of Payment

TQ2REP~1_img100

9.Select the Is greater than or equal to operator

TQ2REP~1_img101

10.Click the pencil TQ2REP~1_img102 and then the icon beside the Table name TQ2REP~1_img103  until it becomes a ?

TQ2REP~1_img104

11.Click onto <select a parameter>

12.Select Bind To

13.Select FromDate

TQ2REP~1_img105

14.Create another filter for Date To filter, binding to ToDate parameter

15.Create another filter for the Payment Type

16.Select the operator “is any of” and  bind to the Payment Type parameter

17.Create further filters for Payment Amount From and Payment Amount To

18.Select to only have the top 100 records while testing, especially with a large database, if not already selected

19.Click OK

TQ2REP~1_img106

The filter has now been added to the Query Builder

TQ2REP~1_img107

20.Click OK at the bottom of the form

21.Click Next on Query Editor

22.Click Finish

TQ2REP~1_img108

23.Click OK on Manage Queries

TQ2REP~1_img109

24.Click Save on the ribbon

25.Click the Print Preview tab

TQ2REP~1_img110

26.Enter Dates From and To

27.Select Payment Type(s)

28.Enter an Amount range

29.Click OK

TQ2REP~1_img111

30.Click Submit

The report will display the top 100 records.