PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WD8] iprintreport
[WD8] iprintreport
Débuté par Christoph Erdmann, 15 sep. 2008 01:08 - 2 réponses
Posté le 15 septembre 2008 - 01:08
Hi all
is there a result, if a report cannot print because there are no data. I can see a error message : no data to print. But i cannot find true or false if a report is printed or not.
Christoph
Posté le 15 septembre 2008 - 11:28
Hallo Christoph,
You can call the report with parameters that can be returned by the report. For example:
iPrintReport(MyReport,liPagenumber)
if liPagenumber=0 then
____info("No report printed")
end
HTH.
Posté le 15 septembre 2008 - 13:35
Hello Louis,
good idea - works great - thanx.
Christoph