0

Print formular questions

Hello,

I have two quick questions regarding the print function:

 

- Is it possible to save different print layouts and access them somewhere on Ninox?

- Is there a way to roll back to the "default" print layout after having made and saved changes?

 

Many thanks,
Giovanni

2 replies

null
    • Mel_Charles
    • 2 yrs ago
    • Reported - view

    Giovanni

    Yes you can have multiple print layouts - just copy the first one and rename it. 

    I tend to keep one called backup (with all my must have fields on it) and that kind of answers your second qustion! so no auto roll back but .....

    You can call the code for printing from buttons etc.. Here is an example script

    let result := dialog("Print Other Delivery Notes", "Print Smith Delivery Note (YES) or Print Plain Note (NO)", ["Yes", "No"]);
    if result = "Yes" then
    printRecord(this, "Smith Note")
    else
    if result = "No" then
    printRecord(this, "Plain Note")
    end
    end

     

    or a simple one

    printRecord(this, "Plain Note")

     

    image shows names of multiple notes

    Screenshot 2021-10-21 at 16.14.07

    • Giovanni_Zagarella
    • 2 yrs ago
    • Reported - view

    Hi Mel,

     

    Many thanks, not sure how I missed the big plus button at the top to create more layouts... Problem solved then! Thanks again!

     

    All the best,

    Giovanni

Content aside

  • 2 yrs agoLast active
  • 2Replies
  • 170Views