<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>21 Feb 2018 12:45:48 Z</lastBuildDate><pubDate>21 Feb 2018 12:45:48 Z</pubDate><description>Calling the "iPageNum()" function in the "Opening" method of a report destined to generate a PDF&#13;
that simultaneously prints a Background Form, generates a different document from the second&#13;
execution of the report, also the file name of the PDF file created changing&#13;
from: "report_name_declared_in_project.pdf" to: "Document.pdf".&#13;
&#13;
If the iPageNum() call is present, the first PDF document generated when the program was run&#13;
is correct (form and fields are correctly positioned), from the second execution of the report,&#13;
without leaving the program, the module and fields are moved to the right and down, as if it were set&#13;
a margin at the top and on the left of the form. The name of the PDF document created is: "Document.pdf".&#13;
&#13;
Everything is correct if the iPageNum() function is not used.&#13;
&#13;
Anyone know the problem?&#13;
Is there a workaround?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64653-wd22-ipagenum-used-opening-method-pdf-report-produce/read.awp</link><title>[WD22] iPageNum() used in the "opening" method of the PDF report produce an unpredictable document.</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
