[progress Communities] [progress Openedge Abl] Forum Post: Illegal Nested Block Statement...

  • Thread starter Thread starter hermes
  • Start date Start date
Status
Not open for further replies.
H

hermes

Guest
Hello, I have an issue where I try to print multiple pdfs and the first PDF gets replaced. I am putting this in a for each now but when I use a buffer to the table i don't get a compile error (but the code doesn't work). But when I do this by using the table I get the below error . I did a find first for the table earlier "Illegal nested block statement reference to table ... " Can anyone see what I am doing wrong?? Thanks for any help IF pdfcheck THEN DO: DEFINE BUFFER bdd_pdfln FOR dd_pdfln. FOR EACH bdd_pdfln WHERE bdd_pdfln EQ dd_pdfhd.company AND bdd_pdfln EQ "S" AND bdd_pdfln EQ dd_pdfhd.rec AND bdd_pdfln EQ dd_pdfhd.order NO-LOCK BREAK BY dd_pdfln.company: {lbls\print_pdf.i &lbl=ttpdf.rept_name &ctnlbl=ttpdf.label} IF NOT LAST-OF(dd_pdfln.company) THEN RUN newpage IN handlePrnt. END. END.

Continue reading...
 
Status
Not open for further replies.
Back
Top