I have a button on a form that runs 1 report, i'm trying to apply a filter for selections made prior to the button being selected. TO allow for many options within the one report.
I have read through many forum pages and can't find exactly what i'm looking for.
I can get one filter to work perfectly. however i would like to add another 1 or 2 parameters to my filtering.
Here is my code for the one filter which works.
Reports!rptFINALByTeam.filter = "FTPT = 'PT'"
Reports!rptFINALByTeam.filteron = true
How do you add another filter? I have tried many different ways and they dont work.
here is one way.
Reports!rptFINALByTeam.filter = "FTPT = 'PT'"
Reports!rptFINALByTeam.filter = "Team = 'Silverchair'"Reports!rptFINALByTeam.filteron = true
When using this code, the Team is filtered but the PT is not, seems the team overrides the FTPT.
Any suggestions are greatly appreciated.
Thanks
I have read through many forum pages and can't find exactly what i'm looking for.
I can get one filter to work perfectly. however i would like to add another 1 or 2 parameters to my filtering.
Here is my code for the one filter which works.
Reports!rptFINALByTeam.filter = "FTPT = 'PT'"
Reports!rptFINALByTeam.filteron = true
How do you add another filter? I have tried many different ways and they dont work.
here is one way.
Reports!rptFINALByTeam.filter = "FTPT = 'PT'"
Reports!rptFINALByTeam.filter = "Team = 'Silverchair'"Reports!rptFINALByTeam.filteron = true
When using this code, the Team is filtered but the PT is not, seems the team overrides the FTPT.
Any suggestions are greatly appreciated.
Thanks