joepineapples
Registered User.
- Local time
- Today, 08:11
- Joined
- Apr 28, 2006
- Messages
- 29
Hi All
I have a macro that I use to open a report using a filter from a form. On the form I have a combo box called cboQuarter.
In my macro I add the following to my where condition:
[Forms]![frmReports]![cboQuarter]=[qryOutputVariance]![Quarter]
This works fine and what I get is a filtered report that shows all my records that match the quarter picked in the combo box.
What I would like to do is add a further criteria.
I have another combo box called cbocriteria which has the values '>', '=' and '<' in it.
what I would like to do is create the filter where:
My report is filtered by the quarter as defined by the criteria e.g. cboQuarter([Forms]![frmReports]![cboQuarter]) > reportQuarter ([qryOutputVariance]![Quarter])
I hope this makes sense - as my request seems a little convoluted.
I have a macro that I use to open a report using a filter from a form. On the form I have a combo box called cboQuarter.
In my macro I add the following to my where condition:
[Forms]![frmReports]![cboQuarter]=[qryOutputVariance]![Quarter]
This works fine and what I get is a filtered report that shows all my records that match the quarter picked in the combo box.
What I would like to do is add a further criteria.
I have another combo box called cbocriteria which has the values '>', '=' and '<' in it.
what I would like to do is create the filter where:
My report is filtered by the quarter as defined by the criteria e.g. cboQuarter([Forms]![frmReports]![cboQuarter]) > reportQuarter ([qryOutputVariance]![Quarter])
I hope this makes sense - as my request seems a little convoluted.