UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> 2 or more values in a Crosstab Report    
 
   
Debskh
post Jan 14 2006, 02:13 PM
Post #1

UtterAccess Addict
Posts: 242



Is it possible to have 2 values in a crosstab report? For example, column headers are month of the year, row header is Location, and the value needs to show a figure for Demand and a figure for Inventory next to each other under each month (and of course the appropriate summing at the end of the report)

Is this possible in Access?

Thanks in advance for any help.
Go to the top of the page
 
+
GroverParkGeorge
post Jan 14 2006, 08:36 PM
Post #2

UA Admin
Posts: 19,241
From: Newcastle, WA



I doubt it, but you might be able to finesse this by starting out with another query which concatenates the Demand/Inventory pair for each location as a single field. Then you could use that query as the recordsource for the crosstab.

HTH

George

Edited by: GroverParkGeorge on Sat Jan 14 20:39:35 EST 2006.
Go to the top of the page
 
+
Larry Larsen
post Jan 15 2006, 03:15 AM
Post #3

UA Editor + Utterly Certified
Posts: 22,722
From: Melton Mowbray,Leicestershire (U.K)



Hi
I have seen a multivalue crosstab demo but I'm unable to find it at the moment, what I have found is an old image I used to show the results from demo.
Attached..
If I remember it used a small function to populate the values..
If I find it I'll post it up.
(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Attached File(s)
Attached File  Xtabdemo.zip ( 43.47K ) Number of downloads: 9
 
Go to the top of the page
 
+
Debskh
post Jan 16 2006, 01:52 PM
Post #4

UtterAccess Addict
Posts: 242



Thanks, I had a feeling it may not be possible. I thought about concatenating the two values as well, but then I will not be able to calculate on the values. The screen shot is exactly what I need, Larry. It also looks like the values can be summed and such. It would be very helpful if you will be able to find that demo. O_o

Thanks in advance.
Go to the top of the page
 
+
Larry Larsen
post Jan 16 2006, 06:15 PM
Post #5

UA Editor + Utterly Certified
Posts: 22,722
From: Melton Mowbray,Leicestershire (U.K)



Hi
Here your are..
(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Attached File(s)
Attached File  Demo_CrosstabReport.zip ( 105.51K ) Number of downloads: 19
 
Go to the top of the page
 
+
GroverParkGeorge
post Jan 16 2006, 11:48 PM
Post #6

UA Admin
Posts: 19,241
From: Newcastle, WA



Excellent. Thanks.

I was thinking that you'd have to do the concatenation in a precursur query. Just goes to show that it doesn't pay to leap to conclusions.
Go to the top of the page
 
+
Debskh
post Jan 24 2006, 01:19 PM
Post #7

UtterAccess Addict
Posts: 242



Larry you're a dream! I was actually resorting to Crystal Reports! *gasp* ! Thanks very much!
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 22nd May 2013 - 12:41 PM