General information
Category:
Coding, syntax & commands
Hello Sergey !
I have seen your message 006793 about returning a printer status and i hope that i understood
the trick ?
I also want to know wether the report was realy printed or just previewed.
(vfp8.0 sp1)
My print button click event in my form:
gedruckt = .F.
REPORT FORM liste_artikelstamm TO PRINTER PROMPT preview
MESSAGEBOX("Printstatus= " + TRANSFORM(gedruckt))
if gedruckt = .T.
........
endif
My report summary band on Exit:
_VFP.SetVar(gedruckt,iif(sys(2040) = "2",.T.,.F.))
But after preview with printing or just previewing gedruckt is allways .F. ???
What am i doing wrong ??
Can you help please ???
Best regards
Albert
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only