waynebrady
Programmer
How do I reference a control on form2 from within form1? Do I have to or should I use a formset?
e.g. I have a grid on form1 and "afterRowColChange" of the grid I want to automatically update/change the PDF file displayed (i'm using pdf.ocx) in Form2. If I issue
form2.olecontrol1.loadfile('myfile.pdf') from within the Afterrowcolchange event of grid on form1, I get an "Object FORM2 is not found." error
How should I reference this object?
Thanks,
Wayne
Wayne Brady
e.g. I have a grid on form1 and "afterRowColChange" of the grid I want to automatically update/change the PDF file displayed (i'm using pdf.ocx) in Form2. If I issue
form2.olecontrol1.loadfile('myfile.pdf') from within the Afterrowcolchange event of grid on form1, I get an "Object FORM2 is not found." error
How should I reference this object?
Thanks,
Wayne
Wayne Brady