R
Russell
I get the error 2455, 'You entered an expression that has
an invalid reference to the property LinkChildFields' for
the following case.
I am attempting in code to change the LinkChildFields
property of a chart embedded in a Report. I get this
error only when I attempt it in the Report_Open event and
not if I open the Report in design mode at runtime.
Further, if I step through the code after getting the
error at runtime, in the Form_Open event, it will not
error again. Trapping the error and rerunning the code
line does not work, it errors continuously.
This is the code snippet that fails:
Dim ctl as control
Set ctl = Me.<chart name>.Properties("LinkChildFields")
ctl.Properties(.Property) = <some string value>
Any ideas?
an invalid reference to the property LinkChildFields' for
the following case.
I am attempting in code to change the LinkChildFields
property of a chart embedded in a Report. I get this
error only when I attempt it in the Report_Open event and
not if I open the Report in design mode at runtime.
Further, if I step through the code after getting the
error at runtime, in the Form_Open event, it will not
error again. Trapping the error and rerunning the code
line does not work, it errors continuously.
This is the code snippet that fails:
Dim ctl as control
Set ctl = Me.<chart name>.Properties("LinkChildFields")
ctl.Properties(.Property) = <some string value>
Any ideas?