How to test UseSystemPrinter

DACUNHA
DACUNHA Member Posts: 3
Hello,

I'm in a report.
i want to test 'UseSystemPrinter' to change the object's property : visible or not visible.
example :
if usesytemprinter = true then label.visible=false

How do it ?

Comments

  • kriki
    kriki Member, Moderator Posts: 9,121
    There is no report-property to test that.
    Try to use a function in the report that receives a boolean saying it is the systemprinter or not and save it in a global in the report.

    And just before launching the report (you need to use a report-variable), call the function.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • DACUNHA
    DACUNHA Member Posts: 3
    thank you.
    i try it