L
Laurel
I have the following code in my Load event. I developed it from some code I
found in grphsm97.mdb on the Microsoft download site. See bottom of this
posting for that code. Unfortunately, when the assignment line executes, I
get this error. I'm running Access 2003, and converted the Access 97
database.
"Unable to set text property of the ChartTitle class"
Is there any way I can change the chart title dynamcially.
My code in the load event.
Me!Graph23.SetFocus
Me!Graph23.Charttitle.Text = "new chart title"
The code I found in grphsm97.mdb.
'--------------------------------------------------
' Show or Hide the Title using the Not Operator to
' reverse the state ofthe Hastitle property
'--------------------------------------------------
Me!Graph1.HasTitle = Not Me!Graph1.HasTitle
' If the graph has a title, set the Caption to somthing
If Me!Graph1.HasTitle Then
Me!Graph1.charttitle.Text = "Sample Title"
End If
found in grphsm97.mdb on the Microsoft download site. See bottom of this
posting for that code. Unfortunately, when the assignment line executes, I
get this error. I'm running Access 2003, and converted the Access 97
database.
"Unable to set text property of the ChartTitle class"
Is there any way I can change the chart title dynamcially.
My code in the load event.
Me!Graph23.SetFocus
Me!Graph23.Charttitle.Text = "new chart title"
The code I found in grphsm97.mdb.
'--------------------------------------------------
' Show or Hide the Title using the Not Operator to
' reverse the state ofthe Hastitle property
'--------------------------------------------------
Me!Graph1.HasTitle = Not Me!Graph1.HasTitle
' If the graph has a title, set the Caption to somthing
If Me!Graph1.HasTitle Then
Me!Graph1.charttitle.Text = "Sample Title"
End If