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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|