Save PDF by script in report definition without preview?

edited October 2010 in FastReport 4.0
Hello,

I'd like to do the following:

* Run a report
* With a report dialog, ask if the user wants a preview or a pdf export
* option a) print preview: display preview as usual
* option b) pdf export: create a pdf-file and do some more scripting, optimally without displaying the preview at all.

The PDF-exportfilter is activated, manually creating a pdf out of the preview runs fine.

Is this possible just by using scripting in the report definition?

Thanks a lot & best regards,

Daniel

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:45AM
    can't do it from internal report script, must be handled at the delphi level.

Leave a Comment