0

Open a record with a button

Good morning to all
I have a table named Contacts and a sub-table named Contacts edition, once I have created a new record in Contacts edition, I would like to open the record created from the Contacts table but with a button, would you have a formula that, I put a picture tobetter understand the thing. Thanks for your help

Capture d’écran 2020-08-06 à 09.42.00

5 replies

null
    • Choices_Software_Dean
    • 3 yrs ago
    • Reported - view

    No sure if I understand what you want. If you click the "bla" sub record above it will bring you to the Contact Edition form. If you place a button there with the code:

    closeRecord()

    It will close that record and bring you back to the contact.

    • Administrateur
    • 3 yrs ago
    • Reported - view

    Thank you for your help. Actually what I'd like to do is that instead of clicking on "bla" I'd like to do this with a button

    • Ninox developer
    • Fabio
    • 3 yrs ago
    • Reported - view

    Hello Administrateur.

    Try this:

    ---

    let lastRecord := last(select 'Contacts edition');
    popupRecord(record('Contacts edition',lastRecord))

    ---

       Fabio

    • Ninox developer
    • Fabio
    • 3 yrs ago
    • Reported - view

    let lastRecord := last(select 'Contacts edition');
    popupRecord(lastRecord)

    • Administrateur
    • 3 yrs ago
    • Reported - view

    Thank you for your help

Content aside

  • 3 yrs agoLast active
  • 5Replies
  • 868Views