Ok, if anyone can figure this one out, they're a genius. What I need to know is... HOW DO YOU PROGRAMMATICALLY CREATE A CHART IN ACCESS?????????? I've been bashing my head over this one for days and I know I'm close but I'm obviously missing something. Here's what I've been trying:
And that's where I'm hung up. Setting the class of my objectframe doesn't do anything and the property doesn't even stick after I set it. If anyone can tell me how to take an empty unbound object frame and stick an MSGraph chart object into it, like I said, you're a genius (and I would greatly appreciate it).
Thanks!
jjmclell
Code:
DoCmd.OpenReport "chartsReport", acViewDesign
Application.CreateReportControl "chartsReport", acObjectFrame, acDetail
Reports("chartsReport").Controls("OLEUnbound1").Class = "MSGraph.Chart.8"
And that's where I'm hung up. Setting the class of my objectframe doesn't do anything and the property doesn't even stick after I set it. If anyone can tell me how to take an empty unbound object frame and stick an MSGraph chart object into it, like I said, you're a genius (and I would greatly appreciate it).
Thanks!
jjmclell