Solved

Reporting filter criteria

Posted on 2003-12-09
5
332 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bind Combobox 4 29
Access Runtime 2010 Error 17 32
Alter an update query which rounds 7 33
how to address a subform in a form, from inside another subform 2 25
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now