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 / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

Report Graph not responding to same recordset

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jonefer - 12 Jan 2005 02:47 GMT
I have a report with a report graph whose recordset is the same query that
the report is based on.  

I apply a "where condition" variable to the report when I open it and the
main report successfully receives the filter.  

Why doesn't the report graph get the filter when it is opened?
Rick Brandt - 12 Jan 2005 03:29 GMT
> I have a report with a report graph whose recordset is the same query
> that the report is based on.
[quoted text clipped - 3 lines]
>
> Why doesn't the report graph get the filter when it is opened?

Because the WHERE clause applied to the report has nothing to do with the chart.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

jonefer - 18 Jan 2005 19:21 GMT
How then, can I synchronize the report graph's recordsource with the report's
recordsource?

> > I have a report with a report graph whose recordset is the same query
> > that the report is based on.
[quoted text clipped - 5 lines]
>
> Because the WHERE clause applied to the report has nothing to do with the chart.
Penguin - 19 Jan 2005 06:28 GMT
Try setting the RowSource on the reports OnOpen or insert this code in
the OnClick of a button on a form:

   DoCmd.OpenReport "YourReportName", acViewDesign
   Reports!YourReportName!YourGraph.RowSource = "QueryName" or "SQL"
   DoCmd.Close acReport, "YourReportName", acSaveYes
   DoCmd.OpenReport "YourReportName", acViewPreview

Hope this helps.

>How then, can I synchronize the report graph's recordsource with the report's
>recordsource?
[quoted text clipped - 8 lines]
>>
>> Because the WHERE clause applied to the report has nothing to do with the chart.
 
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



©2008 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.