csr
Programmer
- Jul 20, 2000
- 507
I must have a misconception about CreateObject.
This code fails at the last line and I do not understand why ?
The error is ... OutputReport.scx does not exist !
I thought I had created a form object and was not calling that form. I guess not.
OutputReport = CREATEOBJECT("my_frm"
outputReport.caption = "Report Output"
OutputReport.AddObject("cmdVIEW", "my_cmd"
OutputReport.AddObject("cmdPRINT", "my_cmd"
DO FORM OutputReport
Don
This code fails at the last line and I do not understand why ?
The error is ... OutputReport.scx does not exist !
I thought I had created a form object and was not calling that form. I guess not.
OutputReport = CREATEOBJECT("my_frm"
outputReport.caption = "Report Output"
OutputReport.AddObject("cmdVIEW", "my_cmd"
OutputReport.AddObject("cmdPRINT", "my_cmd"
DO FORM OutputReport
Don