Solved

Reporting filter criteria

Posted on 2003-12-09
5
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

738 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