Hi, I hope someone can help with this. I don't know if it is a simple question or not.
I'm developing a database for a set of users and for every report in the database they have requested an accompanying graph. I have never used charts or graphs in Access before, so I'm just now learning how to design one.
I've gotten a little bit figured out, but I'm stuck on the filtering part. For the "normal" report, the user fills out a bunch of combo boxes on a form and clicks a command button. I have VBA code on the form which builds and sends the appropiate filtering criteria to the report when it opens, like so:
DoCmd.OpenReport "report1", acPreview, , Criteria
DoCmd.OpenReport "report1 - Graph", acPreview, , Criteria
The report opens and displays the appropiate records, however the graph displays all the records, regardless of the criteria sent to it.
Any ideas? Like I said, I'm extremely new at creating graphs, so I hoping it's an obvious fix. Maq
<insert witty signature here>
I'm developing a database for a set of users and for every report in the database they have requested an accompanying graph. I have never used charts or graphs in Access before, so I'm just now learning how to design one.
I've gotten a little bit figured out, but I'm stuck on the filtering part. For the "normal" report, the user fills out a bunch of combo boxes on a form and clicks a command button. I have VBA code on the form which builds and sends the appropiate filtering criteria to the report when it opens, like so:
DoCmd.OpenReport "report1", acPreview, , Criteria
DoCmd.OpenReport "report1 - Graph", acPreview, , Criteria
The report opens and displays the appropiate records, however the graph displays all the records, regardless of the criteria sent to it.
Any ideas? Like I said, I'm extremely new at creating graphs, so I hoping it's an obvious fix. Maq
<insert witty signature here>