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')
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!
Comments
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')
Thanks
Mike
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");
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!