
Crystal Report Designer component - How do I add a button
I have tried the same, but now I'm using two separate functions, one for
displaying and eventually printing the report and one for export. It's very
annoying to code the same thing twice, but I haven't found anything better.
+++++++++++++++++++++++++
| Robert Rybaric
| PRO-INFO system, s.r.o.
| Nitra, Slovakia
| PRO-FIT for Windows
| http://www.pro-fit.sk
+++++++++++++++++++++++++
Quote:
>I have a program using about 20 reports with the free downloaded Crystal
>report designer component. I need to offer the user the ability to show the
>report on screen, then either print or export to a disk file.
>When you run the report, the designer fills the form (even if height and
>width are specified), so there is nowhere to display a button allowing
>export. (There is a print button on the form). I have tried adding a button
>to the form and changing the z order but it never appears.
>I can add report.export True before calling the report and then get the
>requester asking how it is to be exported, but in this case, it is not
shown
>on screen.
>Anyone any ideas.
>Regards - Mike Simpson.