Forum Discussion

NancyAbell's avatar
NancyAbell
Qrew Trainee
5 years ago

Add a Child Record from a Parent Record in Another App and then Return after editing the new record

Hello, 

Add a Child Record from a Parent Record in Another App and then Return after editing the new record. This seems like a very easy question but I cannot figure this out. The following adds the new record, however after clicking, "Save and Close", I stay on the record. I want to redirect back to the parent so I can add more children:

URLRoot() & "db/bkfza5uhh?a=API_GenAddRecordForm&_fid_19=" & URLEncode([BF RO #])& "&z=" & Rurl()

------------------------------
nancy nancy
------------------------------

2 Replies

  • This may be a known problem when add child on a cross app relationship.

    I seem to recall also suggesting tom someone else on the forum try this trying this but it did not work but you can try and let me know.

    var text AddChild = 
    URLRoot() & "db/bkfza5uhh?a=API_GenAddRecordForm&_fid_19=" & URLEncode([BF RO #]);

    var text DisplayParent = URLRoot() & "db/" & "?a=dr&rid=" & [Record ID#;

    $AddChild
    & "&NextURL=" & URLEncode(DisplayParent)

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • NancyAbell's avatar
      NancyAbell
      Qrew Trainee
      Mark,

      THIS WORKED! Thank you!

      ------------------------------
      nancy nancy
      ------------------------------