0

Button action to switch from one table form to another table form?

How can I create a button action that switches the user from the current form to a form in a different table? If there is not already a built in function for this, what would a custom showForm() function look like in Ninox? My use case is to create context sensitive "Help" buttons that allow users to jump to and from form layouts in a separate help table.

5 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 4 yrs ago
    • Reported - view

    From the blog: https://ninoxdb.de/en/blog/release-25 >

    The command openFullscreen(record) will pop up a screen-filling form:

    openFullscreen(this)

    or from another table : (opens the first record from Table1)

    let p := record(Table1,1);

    openFullscreen(p)

    With closeFullscreen() this can be closed again:(maybe with a button on opened screen in your scenario)

    closeFullscreen()

     

    With this, you can have a table with records about several help issue's...

    • Ppc
    • titanium_fish
    • 4 yrs ago
    • Reported - view

    openTable(tableName, viewName) - opens a table view
    |  openTable("Invoices", "All Invoices")

    • Choices_Software_Dean
    • 4 yrs ago
    • Reported - view

    Perfect. Thank you all.

    • Ppc
    • titanium_fish
    • 4 yrs ago
    • Reported - view

    you might want to add a close record so that when it goes back to the view it shouldnt go back to the last open record

    openTable("TableName", "all");
    closeAllRecords()

Content aside

  • 4 yrs agoLast active
  • 5Replies
  • 3542Views