Problem when previev component on a different form than the report
Hello!
If I want to place a report on one form, and a preview component on
another one, then I can not assign the report to the preview, although
the the units are included in each others uses list.
Is this a bug, or can there be done some workaround?
Greetings, Zsolt Balanyi
If I want to place a report on one form, and a preview component on
another one, then I can not assign the report to the preview, although
the the units are included in each others uses list.
Is this a bug, or can there be done some workaround?
Greetings, Zsolt Balanyi
This discussion has been closed.
Comments
In my testing there is no problem using a report on a different form than a
viewer. If you use the unit that contains the form and the report is public
or published, you can access it using the form variable created for you.
For instance, in the second form with the viewer you could say the following
in the FormCreate event...
ppViewer1.Report := Form1.ppReport1;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com