Show Output

Mike_BMike_B Member Posts: 25
I am trying to use the SHOWOUTPUT function in a report
I only require to show the label for a specific company.

Can anybody tell me how to do this

Thanks

Comments

  • JedrzejTJedrzejT Member Posts: 267
    Put code:

    currreport.SHOWOUTPUT( Companyname='your company name')

    in presection trigger

    You can't hide one label. You can hide all section
    If you had one section ,must create another one based on previous with one more label. Then put code in both section:

    1:
    currreport.SHOWOUTPUT( NOT Companyname='your company name')

    2:
    currreport.SHOWOUTPUT( Companyname='your company name')
  • Mike_BMike_B Member Posts: 25
    I think i did not describe my problem the section i wish to print should be on the sales invoice for a specific customer.

    Thanks

    Mike
  • krikikriki Member, Moderator Posts: 9,118
    Doesn't change a lot:
    1:
    CurrReport.SHOWOUTPUT(NOT ("Sell-to Customer No:"IN );

    2:
    CurrReport.SHOWOUTPUT("Sell-to Customer No:"IN );

    Or create a boolean (or an option if you have more possibilities) in the customer card to show that section.
    In the OnAfterGetRecord of the header, you have to get the customer (if this doesn't happen already).
    1:
    CurrReport.SHOWOUTPUT(NOT recCustomer."Show Label");
    2:
    CurrReport.SHOWOUTPUT(recCustomer."Show Label");
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.