PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WINDEV 18 - issue with iPreview
WINDEV 18 - issue with iPreview
Iniciado por guest, 16,jun. 2016 06:33 - 2 respuestas
Publicado el 16,junio 2016 - 06:33
Hi,

// Print preview
iPreview()
iInitReportQuery(RPT_SOA)
iPrintReport(RPT_SOA)

after preview the report, if user print it from the previewer...the printout ( values ) different from what you see in the previewer.

But if the report prints directly without the ipreview() function, it's OK.

Is there a bug in windev 18 ?

Regards,

PETER ZHOU
Publicado el 16,junio 2016 - 09:51
Hi Peter,

In fact, when printing a report after the print preview, the report is re-executed again.
So if the content of the query is not the same anymore, you will get a different print-out.

Maybe there is something coded in your report that is triggering this?

Kind regards,
Joris.
Publicado el 16,junio 2016 - 11:06
Hi Peter

Check your report description and Data Tab
Where is your data coming from? Is it directly form a data file, query or table control.
Check if using independent HFSQL context is needed so not affected by and code running in a form .
Regards Mark