0

Create Button PDF

Hi .

I have the 3 lines  script on the Button (Crear PDF) my report name in Report_1 and need to view it in Emisiones (field pictures), the pdf

The script don't work,  some help ? 

Thanks

2 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 1 yr ago
    • Reported - view

    Rafael

    You only need one line of code:

    Emisiones := importFile(this, printAndSaveRecord(this, "Report_1"), "EmisionesReportOrWhateverYouWant" + ".pdf");

    optional, if you already have a report in your imagefield, you can put

    Emisiones := null;

    above the code (so you'll have 2 lines of code), this deletes first the imagefield.

    Steven

      • Rafael Sanchis
      • Rafael_Sanchis
      • 1 yr ago
      • Reported - view

      RoSoft_Steven Thanks Steven 👍

Content aside

  • Status Answered
  • 1 yr agoLast active
  • 2Replies
  • 91Views
  • 2 Following