0

Create a button on a parent table to open a child table

Hi, 

I'm trying to create a button on my parent table to open a child table. 

I tried to use this formula that I found on the manual however it does not work >

openTable(tableName, viewName)

Is it something possible to do on Ninox? 

Thank you

3 replies

null
    • Karen_Estrada
    • 4 yrs ago
    • Reported - view

    Hi @KS On your parent table ... (In admin mode), on your button ... Select "On Click" field, add formula: (don't include the === :-)

    ====

    openTable("Your Child Table Name")

    ===

    (even if the name is only 1 word, be sure to use " "  ... e.g.  openTable("Child")

    ---

    I've attached an image (from one of my databases) but in my preview (Reply box) it looks distorted - so hopefully when this is posted, it'll look 'normal'. Unfortunately once you've posted something you can't go back and correct it :-(

    [If you also want to add the view name, you would just substitute 'viewName' with the actual name of the view you want it to open in. (I didn't include that in the example...)]

    Karen

    openTable_Ninox

    • maroon_banana
    • 4 yrs ago
    • Reported - view

    Hi Karen :), 

     

    Thank you so much for your help; it works now :)

    • Karen_Estrada
    • 4 yrs ago
    • Reported - view

    @KS You're welcome!! I'm so glad :-) Karen

Content aside

  • 4 yrs agoLast active
  • 3Replies
  • 1255Views