Creating an Input Field in Section Layout

Posted by: evans.cole97 on 3 May 2021, 6:06 am EST

  • Posted 3 May 2021, 6:06 am EST

    I am using a software called Mastercam it allows me to program CNC machines, now this software came with a dumbed-down version of Active Reports. This allows me to create set-up sheets so my operators know how I programmed the part and how to set up the machine. Now, I want to be able to create a "field input" so when the file is saved as a pdf, the operators can view and add notes to the set-up sheet easily. That being said, the version of ActiveReports that came with my software does not have the "Field Input" function baked in. Is there a way to go about using the scripting to add a field input?
  • Replied 3 May 2021, 3:42 pm EST

    Hello,

    In my understanding, you want to add the editable field in the PDF file. If my understanding is correct, then it is not possible in the SectionReport. You need to upgrade to Page/RDL report to achieve the same.

    Please refer to the following link;
    https://www.grapecity.com/activereportsnet/docs/v15/online/editable-pdf.html

    Thanks,
    Mohit
  • Replied 3 May 2021, 4:29 pm EST

    Thank you for the response. So it is impossible even with using the scripting? If I need to use an RDL file, I believe it would need to be called as a sub report from a .rpx file as that is what the parent software that I am using, mastercam, recognizes. It is possible to call an rdl subreport from an rpx section report?
  • Replied 3 May 2021, 4:46 pm EST

    Hello,

    It is not possible using scripting. Also, you can't use the RPX as SubReport in the RDL/Page report. You need to move to RDL report from section report to achieve your requirement.

    Thanks,
    Mohit
  • Replied 4 May 2021, 5:25 am EST

    Ok, thank you. As my program will only accept .rpx files, I need to stick with the section report. I have one other possible solution but it might be a long shot. Currently, all of the setup sheet reports that I generate get served on an internal web server, so if I saved the report as an HTML file, would I be able to have it generate an HTML text box with a submit button? I know I would have to do backend work on the server to receive anything, but the first step would be getting a report to save with a text box.
  • Replied 5 May 2021, 5:01 pm EST

    Hello,

    When you export to the HTML, it only export the report content in the HTML. You can't add the Submit button in the HTML using the AR API. You need to add it explicitly after exporting the report into HTML.

    Thanks,
    Mohit
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels