473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to show entered criteria from a query on a report?

Daniel B
I have a query that generates a report based on two manually entered dates (Start Date and Stop Date). The report then shows the data that is relevant between the two entered dates.

I would like to be able to display the two entered dates at the top of the report, just as a visual aid to the user. Any help on how this can be done??

Thanks!

Daniel B.
Aug 23 '11 #1
2 1511
Rabbit
12,516 Expert Mod 8TB
Create a form for the entry and then reference those controls in the query and the report
Aug 23 '11 #2
NeoPa
32,556 Expert Mod 16PB
Manually entered values to queries (Parameters) should be used manually only at the most basic level (a quick query knocked up to test something out), and programatically at a more advanced level (where the values are entered from the code itself). Your usage of this approach is not appropriate as it will not support what you're trying to achieve. Rabbit's suggestion, on the other hand, makes everything simple and straightforward again for you.

A slight alternative would be, using the same form concept, to open the report passing a WhereCondition parameter to set the .Filter and an OpenArgs parameter to pass the data to the report. This leaves complex form references out of the process.

Neither way is much better or worse than the other. They are simply alternatives of which some prefer one and others the other. You choose whichever suits you best. For referencing items on forms though you can check out Referring to Items on a Sub-Form.
Aug 24 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: rinmanb70 | last post by:
I have a QBF form/query and a report from the QBF that shows the results of the QBF. I would like to show the criteria on the report that was used in the QBF to get the info on report. I can't...
1
by: allie357 | last post by:
I am trying to add a form with a combo box to an existing parameter query report. I followed the directions from this link:http://office.microsoft.com/en-us/assistance/HA011170771033.aspx ...
3
by: sfjnet | last post by:
Hi I am relatively new to Access so I hope I am not embarrassing myself with this question. I have created a database showing contract details (contract number, contractors, dates, other...
3
by: emily.a.day | last post by:
I have a book database, and I have set up a query to search by subject. As it is now, the searcher has to know the subject and type it into the query. I wonder if there is a way to have a combo...
5
by: ladybug via AccessMonster.com | last post by:
I am trying to create a report using multiple tables. The first table has Employee info in it (name and id's). the next three tables have employee info for training, test, scores, etc. I am...
6
by: pukhton | last post by:
Hello~ Just a quick question about Access Reports. I want to have a form for user where they will have two textbox and one combo box to pick from and run the query based on that. 1 txtbox is...
2
by: NicholasSerpentine | last post by:
Hi folks....I have been checking out this group and have found help and solutions to everything I have needed up to this point. I have created a report based on a Query to show me certain activity...
1
by: yemvee | last post by:
Sir, I have a table named "RELATIONS_MASTER". Content of the table is below. CODE | PARENT | CHILD | LEVEL | -------------------------------------------------------------- A01 |...
6
by: Suevans | last post by:
I've written a basic query which has a calculated field Amount: - The query works fine. Sometimes it will not have anything to show, this is correct, it is for unreconciled transactions. ...
3
by: rhonda2010 | last post by:
My project consists of a user interface designed in Visual Studio 2010 Express. I have it linked to an Access database. At this time, I have two text boxes that the user will enter a number. I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.