[#line: DSP VchAccTitles] Add:Right Field:BeforeSP VCHTYPETITLE:INVOICE DATE1 [Field:INVOICE DATE1] use:Name Field Set as:"INVOICE DATE" Line:-1 Style:Normal Color:BLUE Width:15 invisible : NOT ##IsLedgerReport Align:Center Color:BLUE with optin button to hide and show
For print/Export, it is a different code........ Find the appropriate one and introduce your condition in the FIELD level....same as you did for display.