Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

TppViewer - insert individual text by the user

Hello,

is there a possibility to insert individual text for the user in the TppViewer at the report, before printing?

I use the RBuilder 21.05 and Delphi 11.2. Many thanks for the answer!

Yours,
Michael Schustereder

Comments

  • edited November 2022
    Hi Michael,

    The report viewer/preview does not have form field capabilities built-in.

    1. It would be possible to implement the OnDrawCommandClick event to open an input dialog for the clicked field.

    2. Form fields are supported for exported PDF files. See the following article and example for how to create these files.

    https://rbwiki.digital-metaphors.com/output/pdf/pdf-forms/

    3. Another option would be to ask for the field values before previewing the report.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.