PC Review


Reply
Thread Tools Rate Thread

Crosstab with dynamic columns

 
 
Jeremy.Campbell@rmhp.org
Guest
Posts: n/a
 
      30th Jun 2011
I have a query that can return between 1 and 6 columns. I will use
colors for example. For some months the report can have 2 colors,
other months it can have up to 6 colors. Example

Report1:
Color1 Color2 Color3 Color4 Color5 Color6
White Red

Report2:
Color1 Color2 Color3 Color4 Color5 Color6
Blue Red Green Purple Brown Black

How can I hard code the categories labeled Color1-Color6 with the
attached colors, which can be different each time and include 1 to 6
different options. Something like autonumber would help, but how can
you do that in a query?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crosstab query dynamic columns ala Duane Hookom javablood Microsoft Access Reports 10 30th Jul 2009 05:56 PM
dynamic columns number in crosstab report Bobi Microsoft Access 4 8th Feb 2009 09:06 PM
dynamic crosstab =?Utf-8?B?aXNtYWls?= Microsoft Access Queries 3 14th Jan 2006 02:53 PM
Crosstab query with criteria, dynamic columns and crosstab report question joshblair Microsoft Access Queries 5 13th Jan 2006 09:34 PM
Dynamic access to columns in crosstab query =?Utf-8?B?UmFuZHkgSGFydHdpY2s=?= Microsoft Access Queries 1 21st May 2005 02:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:07 PM.