Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / April 2008

Tip: Looking for answers? Try searching our database.

PivotChart woes..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcus - 21 Apr 2008 15:51 GMT
Good morning,
I'm having some little problems using pivotcharts in Access 2003 + latest
patches.

Goal: show a chart whose recordsource is a query that changes depending on
current record

- I' have designed a main form with tabs
- one of the tabs must show the chart
- I have designed a subform with pivotchart view
- the subform/pivotchart is built on a query
- I have dragged the subform/pivotchart into the main form
- once running, when current record changes, the pivotchart shows the same
graph, nothing changes.

So I thought: the subform/pivotchart recordsource/query must be updated
somewhere, to apply a "WHERE" clause, to filter out unwanted data, depending
on the current record in the main form.

Problems:

1) If a change (VBA) the "SELECT" subform's recordsource within the main
form code (in the Current event), the subform/pivotchart shows empty...
maybe changeing the subforms/pivotchart recordsource on the fly, spoils the
pivotchart layout?

2) Tried to stick with the linkchild/linkmaster technique, but get errors
(maybe it's a wrong technique, because the subform/pivotchart source is not
a table but a query?

Conclusion:
- How can i solve the problem?
- Should I use a OWC pivotchart object in place of the subform/pivotchart,
and VBA-controlling the pivotchart?
- Any samples?

Thanks
Marcus - 21 Apr 2008 17:44 GMT
Good morning? :-)

> Good morning,
> I'm having some little problems using pivotcharts in Access 2003 + latest
[quoted text clipped - 33 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.