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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date parameters won't work on crosstab report



 
 
Thread Tools Display Modes
  #1  
Old December 12th, 2007, 12:44 PM posted to microsoft.public.access.reports
CW
external usenet poster
 
Posts: 701
Default Date parameters won't work on crosstab report

I have queries and reports that show our quotes by lead source. I use date
parameters to filter the "QuoteDate" range on which to report.
However this doesn't work on a crosstab query or a crosstab report.
My row heading is Lead Source (e.g. Yellow Pages, Recommendation, etc etc).
My column heading is Status (e.g. Booked, Lost, Pending etc)
The values of our quotes are displayed accordingly, no problem.
On a regular Select Query or a basic Report, the date filter works fine.
However, on a Crosstab Query, if I enter StartDate and EndDate (Date/Time)
in the Query/Parameters window, I get the full set of data, no filtering has
been done. If I also enter Between [StartDate] And [EndDate] on the Criteria
row of QuoteDate in the design grid, I get nothing at all (well one empty row
actually) when I run the query.
Wot's going wrong???
Many thanks
CW

  #2  
Old December 12th, 2007, 06:11 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Date parameters won't work on crosstab report

You must identify the data types of all parameters/criteria in crosstab
queries. The date values must be entered in U.S. format m/d/y. If you can't
figure this out, please reply back with the SQL view of your query.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


"CW" wrote:

I have queries and reports that show our quotes by lead source. I use date
parameters to filter the "QuoteDate" range on which to report.
However this doesn't work on a crosstab query or a crosstab report.
My row heading is Lead Source (e.g. Yellow Pages, Recommendation, etc etc).
My column heading is Status (e.g. Booked, Lost, Pending etc)
The values of our quotes are displayed accordingly, no problem.
On a regular Select Query or a basic Report, the date filter works fine.
However, on a Crosstab Query, if I enter StartDate and EndDate (Date/Time)
in the Query/Parameters window, I get the full set of data, no filtering has
been done. If I also enter Between [StartDate] And [EndDate] on the Criteria
row of QuoteDate in the design grid, I get nothing at all (well one empty row
actually) when I run the query.
Wot's going wrong???
Many thanks
CW

 




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 12:05 PM.


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