Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Charting A Report Group Summary Value In Access 2003

Reply  
Thread Tools
Cooee's Avatar
Junior Member with 5 posts.
 
Join Date: Dec 2008
Experience: Intermediate
20-Dec-2008, 02:27 PM #1
Solved: Charting A Report Group Summary Value In Access 2003
Hi Group

I've got a problem in an Access 2003 report, trying to embed a chart.
If I just wanted to chart based on a field for ALL records in a query or a table it would be easy. But it's not quite that straight-forward.

Imagine this scenario ...
I have a report which groups records into blocks, and there is a summary value in the footer of each grouped block; the detail records are hidden so only the summary footer for each block is visible. Further, let's assume that this summary value field I want to chart is a 'derived' field, like '=Max([Attempt Start Date])'; i.e. I'm only showing the highest date in the preceeding hidden block of records. This summary value isn't in the table or in the report's underlying query; it only really exists in the report and is calculated at runtime. This is pretty standard Access reporting faire.

My problem is that I can't see how to include the 'derived' summary footer value into the chart. As I wrote at the top of the post, I could easily chart a value in the report's query or the table, but I can't see how to chart a value that is calculated on the report itself.

Any clues would be gratefully received.

Thanks.

PeteB
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
20-Dec-2008, 03:17 PM #2
Pete, why is the Max([Attempt Start Date]) only in the report.
Why not put it in the Query.
If you produce a Totals/Group Query to mimick your Report you can include the Max([Attempt Start Date]) in it and then use that for a Chart.
Cooee's Avatar
Junior Member with 5 posts.
 
Join Date: Dec 2008
Experience: Intermediate
20-Dec-2008, 05:15 PM #3
To be honest, it's just the way I've always done it, but have never needed to have a chart before.

I don't think I'm familiar with a 'Totals/Group' query, but have had a quick read on the 'Group By' SQL clause which I think is what you mean. It looks like it just might do the trick after a bit of experimenting.

Thanks for the nudge in that direction.

PeteB
Cooee's Avatar
Junior Member with 5 posts.
 
Join Date: Dec 2008
Experience: Intermediate
20-Dec-2008, 08:56 PM #4
That did seem to work OK in the end, although I can't seem to be able to get the chart to show the GROUPS totals, despite the chart living in the GROUP'S footer. The chart always seems to show the totals for ALL records, rather than just the group whose footer it's in.

Unless there's a trick that anyone knows of to make the chart only show the current GROUPS totals, I'll live with the chart in the REPORT footer.

Thanks again for the nudge that got me this far.
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
21-Dec-2008, 07:27 AM #5
Is the Chart now based on the Query or the Report data?
Cooee's Avatar
Junior Member with 5 posts.
 
Join Date: Dec 2008
Experience: Intermediate
21-Dec-2008, 07:55 AM #6
Completely on the query now, as per your first good advice.
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
21-Dec-2008, 08:13 AM #7
When you put the Chart on the Report did it allow for any Master/Child Links?
Are Master/Child Links in the Properies?
If they are try setting them to whatever you use for the Grouping on the Main report and the same value in the Chart.
Cooee's Avatar
Junior Member with 5 posts.
 
Join Date: Dec 2008
Experience: Intermediate
22-Dec-2008, 07:49 AM #8
I don't fully understand what these fields do, but I have changed them to correspond with the 'break' fields and it seems to be heading in the right direction.

Again, I think you've hit on the problem area.

I'm confident that if I continue to probe around in this area it'll come good.

Thanks again for your insight.
Reply

Tags
access, chart, report

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:22 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.