NAV5.0 Print company name on cheques

HamiltonHamilton Member Posts: 29
Hi,

I'd like to prevent printing the company name on the cheque in Report 10401. I could just make the fields Visible property "No", but I was hoping there was a switch somewhere in the program to toggle it on or off. I can't find in in Company Setup, or P&P Setup, and it's not an option on the cheque.

Does the option exist?

cheers,

Answers

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    The property Visible does not work in reports.

    You need to put some code in your report:
    CompanyInfo.Name := '';
    

    Make sure you don't do a CompanyInfo.MODIFY; otherwise your blank value is stored in the database.

    I don't know this report 10401 (probably for the US-version) but I doubt there is a setup-field for this.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • HamiltonHamilton Member Posts: 29
    Hi Luc,

    Thanks for your response. The report is a stub-stub-cheque report.

    The cheque has some preprinted information on it, and I have set the Visible property of some text boxes in the section to No, and the data has disappeared. In 5.0, at least.

    But clearing the array and then not allowing it to populate with the company data is good solution.

    Thanks, again.
Sign In or Register to comment.