Discussions

 View Only

Button that creates and saves a record in a child table

  • 1.  Button that creates and saves a record in a child table

    Posted 06-16-2022 03:25
    Hey guys,

    I am looking for a way to create a button that creates and saves a child record in another table and then opens it in edit mode in a specific form. So far I've managed to create a button that creates and saves the record but opens it in view mode. That's the field code:

    "<a  class='Vibrant Success' href='" & "my foreign table ID" & "?a=API_AddRecord&apptoken=myapptoken&_fid_9=" & [Record ID#] & "&disprec=1" &  "'>Continue</a>"​

    I played around with the disprec parameter with values different than 1 but to no success.

    I am trying to do this possibly without code pages as I am trying not to use JS.

    Your inputs will be greatly appreciated!

    Regards,

    Yordan

    ------------------------------
    Yordan Petrov
    ------------------------------