Solved

Reporting filter criteria

Posted on 2003-12-09
5
336 Views
Last Modified: 2009-07-27
I've created a database that uses a form filter as the basis for presenting forms and reporting of records.  The filter fields as chosen on the form are saved as a query for appliction to the forms and reports.  The fields chosen to act as filters (as well as the data chosen to act as the filter - e.g. a person's initials) needs to be reported on a report.  There are about a dozen fields that can be used as the basis for the filter though normally only 1-2 will be used.  I therefore need a way of reporting only the query fields that are active as filter criteria.
I hope that is clear and that someone can help!
Many thanks
0
Comment
Question by:JKitchen
5 Comments
 
LVL 34

Accepted Solution

by:
flavo earned 325 total points
ID: 9903576
see prevoius question and use that for your report.  If a value is not used in the form then ill assume thats its let null then set the textbox in the report Visable=False... ie Iff([froms]![frmOpen]!Text1.Value=Null,rptText1.Visable=False,rptText1.Visable=True).  if you use a chechbox use the same but test if is checked... hope that helps


0
 

Expert Comment

by:Solveiga
ID: 9903611
or mabe you need to apply a forms filter to report filter?
then you can do this:
On report event OnOpen you write:
me.filter = !Forms[FrmName].filter

Sorry if I did't understand question
0
 

Author Comment

by:JKitchen
ID: 9903698
Thanks for your prompt suggestions - I'm having a play and will get back to you!
0
 
LVL 32

Expert Comment

by:jadedata
ID: 10271271
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: flavo {http:#9903576}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jadedata
EE Cleanup Volunteer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question