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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphs: How to update a graph from Combo Box Selection

Status
Not open for further replies.

jabmod

MIS
Sep 12, 2004
68
0
0
US
I have a graph that plots data for product sales for each month.

I need to update the graph with the data for each month as a selection of month name is made from the combo box

How do I go about getting this to work?

Thanks
 
A graph displays the results of its Row Source property. The Row Source is generally a query or table or SQL statement. This query can contain a criteria like any other query. You can set the criteria under a month name field in your row source to:
Code:
 [Forms]![YourFormNameHere]![YourComboBoxNameHere]
I rarely filter on a month name as I prefer the month number.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top