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
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
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com