Computer Learning Zone CLZ Access Excel Word Windows

But I try not to think with my gut. If I'm serious about understanding the world, thinking with anything besides my brain, as tempting as that might be, is likely to get me into trouble.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Parameters with Crosstab Qry
Keith Newman 

2 years ago
Good Afternoon, from sunny New Zealand.

I'm trying to use a parameter in a query.
The [message] parameter works for a select query but not the ribbon parameter.
When I turn the select query into a crosstab query nothing works except hard coding the criteria.

Select query


Crosstab query


This is the result I want.

                       Select Query                                            Cross tab Query

Hard code                     Ok                                                              Ok
[message]                      Ok                                                             every month for every year
Ribbon Parameter        every month for every year                        every month for every year


Thanks in anticipation
John Campbell  @Reply  
     
2 years ago
Your upstream query must be turned into a make table/append query.  Then that table is used for the cross tab query.  
This will work, but if new fields/values are used in the make table query, then that will affect your crosstab query.  For example, if you run the make table and have dates, then those dates are turned into cross tab columns Ja, Feb, Mar, then if you run it again and there are no values for Mar, then your cross tab table will not have it the next time you run it.  A hassle if you have a report with those fields.  There is a work around though...  Create a table with all 12 months, then join this into your crosstab query and do an outer join, showing ALL months in the Months table....

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 9:49:15 AM. PLT: 1s