J
Juan Correa
Access 2003
OK... Here's what I have.
I have one form and three subforms. Each subform is based on a parameter
query.
The first subform shows data by coutry in datasheet mode based on a cbo box
selection in the same subform.
The second subform shows a grand total for revenue based on three controls
in the same subform.
The third subform shows a Chart displaying the total revenue.
The second and third subforms are based on the same parameter query.
The query's parameters ask for the choices listed on the cbo boxes.
What I'd like to do is have the chart refresh the information shown as the
controls on the second subform are changed.
Here are the naming conventions that I've followed:
Main Form: frm_MainReports
SubForm 1: frm_revenuebycountry
SubForm 2: frm_report
SubForm 3: frm_chart
Query for SubForm 1: qry_revenuebycountry
Query for SubForms 2 and 3: qry_chart
In Subform 2 I have three controls:
cbo_area
cbo_year
cbo_activity
these three cbo boxes serve as the parameters for qry_chart.
All three subforms work fine, but I can't for the life of me get the third
one to refresh its data based on the selections from the cbo boxes above.
I'm wondering if I have overcomplicated my desing a bit here.
Any help would be appreciated.
OK... Here's what I have.
I have one form and three subforms. Each subform is based on a parameter
query.
The first subform shows data by coutry in datasheet mode based on a cbo box
selection in the same subform.
The second subform shows a grand total for revenue based on three controls
in the same subform.
The third subform shows a Chart displaying the total revenue.
The second and third subforms are based on the same parameter query.
The query's parameters ask for the choices listed on the cbo boxes.
What I'd like to do is have the chart refresh the information shown as the
controls on the second subform are changed.
Here are the naming conventions that I've followed:
Main Form: frm_MainReports
SubForm 1: frm_revenuebycountry
SubForm 2: frm_report
SubForm 3: frm_chart
Query for SubForm 1: qry_revenuebycountry
Query for SubForms 2 and 3: qry_chart
In Subform 2 I have three controls:
cbo_area
cbo_year
cbo_activity
these three cbo boxes serve as the parameters for qry_chart.
All three subforms work fine, but I can't for the life of me get the third
one to refresh its data based on the selections from the cbo boxes above.
I'm wondering if I have overcomplicated my desing a bit here.
Any help would be appreciated.