Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reports Filtering a Chart report

Status
Not open for further replies.

Chance1234

IS-IT--Management
Jul 25, 2001
7,871
US
must be missing something here,

I have several reports which im opening through code

DoCmd.OpenReport str_doc, acPreview, , str_filter

Now str_doc is the name of the report which comes from a drop down and str_filter is a filter string which is built up from a number of options on a form

for example [month] = 'April 04' AND [team] = 'Investment'

on my normal reports it works like a dream, but on my chart reports nothing happens


what am i missing ?


Chance,

Filmmaker, gentleman and up for parole shortly
,
 
Charts don't use the report's record source. A chart control has a Row Source property (much like a subreport). Any filter applied to the report isn't necessarily inherited by the chart. The exception to this is if you use the Link Master/Child properties.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top