A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

show criteria data from a query on a report using that query



 
 
Thread Tools Display Modes
  #1  
Old April 23rd, 2010, 02:25 PM posted to microsoft.public.access.queries
WilliamTheQueryMaker
external usenet poster
 
Posts: 1
Default show criteria data from a query on a report using that query

I have a report that runs a query with a date range parameter criteria. It
works great, now I want to display the entered date range on the report. Is
this posible or do I have to get the range on a form?

In the query, I have the following criteria "Between [Enter From Date:] And
[Enter To date:]"
Now I want to display what the user entered on the report.
  #2  
Old April 23rd, 2010, 02:44 PM posted to microsoft.public.access.queries
John Spencer
external usenet poster
 
Posts: 7,815
Default show criteria data from a query on a report using that query

In a control on the report enter

="Between " & [Enter From Date:] & " And " & [Enter To date:]

You can refer to the parameters in the query as if they were fields (in most
cases).

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

WilliamTheQueryMaker wrote:
I have a report that runs a query with a date range parameter criteria. It
works great, now I want to display the entered date range on the report. Is
this posible or do I have to get the range on a form?

In the query, I have the following criteria "Between [Enter From Date:] And
[Enter To date:]"
Now I want to display what the user entered on the report.

  #3  
Old April 23rd, 2010, 03:16 PM posted to microsoft.public.access.queries
RonaldoOneNil
external usenet poster
 
Posts: 345
Default show criteria data from a query on a report using that query

Create the two text boxes on the report and make the control source exactly
the same as you have in your query
i.e.
=[Enter From Date:]
=[Enter To date:]

"WilliamTheQueryMaker" wrote:

I have a report that runs a query with a date range parameter criteria. It
works great, now I want to display the entered date range on the report. Is
this posible or do I have to get the range on a form?

In the query, I have the following criteria "Between [Enter From Date:] And
[Enter To date:]"
Now I want to display what the user entered on the report.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.