MgtHargreaves
Programmer
I have several routines which produce graphs - using Msgraph. These routines work perfectly in V3, but in V9 I get the error 'OLE error code 0x80020006: Unknown name.' The offending line of code is
Everything compiles OK, the error occurs at runtime. If I ignore the error, the form appears with a blank graph. I can then right click, edit, and change to data / series in Columns and the graph appears as expected.
Please can any-one tell me the code I need to make this happen automatically.
Thank you
Margaret Hargreaves
Code:
ThisForm.ograph.Application.PlotBy = 2
Everything compiles OK, the error occurs at runtime. If I ignore the error, the form appears with a blank graph. I can then right click, edit, and change to data / series in Columns and the graph appears as expected.
Please can any-one tell me the code I need to make this happen automatically.
Thank you
Margaret Hargreaves