Forum Discussion

YordanPetrov1's avatar
YordanPetrov1
Qrew Member
3 years ago

Button that creates and saves a record in a child table

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
------------------------------

No RepliesBe the first to reply