Repeating PDF form fields
As a first shot at using PDF form fields I took a report and placed a form field on the detail band. The resulting PDF document now has an editable field on the first detail only. I realise that I have a report rather than a form. I may have to rewrite this report as a form with non-repeating fields but was wondering if there is another way to get all repeating fields active in my current report?
Comments
As a quick test with RB 19.01 I placed a form field in the detail band of a simple report and it exported the editable form field to every detail band printed.
Is your report connected to any data? By default all reports not connected to data will only print a single detail band unless the AutoStop property is set to False. Note that a report with AutoStop set to False with no data will run indefinitely. Use the PageCount property to avoid this.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
It looks like I did set something up wrong. However I now see that typing test in the first field duplicates the text in all details bands. Is this expected behaviour?
Martin
Which PDF viewer are you using? In my testing (with my test PDF I created earlier) and Adobe Acrobat DC, altering the text of the first form field does not have an effect on the other form fields.
If you are referring to the initial text entered from within ReportBuilder repeating for each detail band, this is normal behavior. Similarly if you place a static label with the caption "Test" in the detail band, it will be duplicated for each detail printed.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This repeating behaviour occurs when I set FieldTitle on the form field. I don't need a FieldTitle so am now very happy with the results.
Thanks for your assistance
Martin
The FieldTitle should only be used when post processing of the PDF document is necessary. If not, it should be left blank. I will add it to our list to enhance this to create a unique field title for labels in the detail band if desired.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com