Hi Mike,
To change the properties of the graph object you need to instantiate it. Something like this should work.
oForm = CreateObject("Form")
oForm.AddObject("oGraph", "OLEBoundControl")
oForm.oGraph.ControlSource = "MyTable.MyGeneralField"
oForm.oGraph.Object.Chart.ChartTitle.Text = "Marketing Director"
pamela
>I am learning how to work with MS Graph and by reading the Help Files and checking with articles with this forum, I am now able to pass data to the Graph General Field and produce a graph.
>
>But I can find nothing on how to pass a "Title" to the Graph General field.
>
>I need to be able to pass a "Title" for the graph programitically if this is possible.
>
>If anyone knows how to do this, I would appreciate your advice.
>
>Mike Smith
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement