Discussions

Expand all | Collapse all

Adding a related record - save and close to stay on the related record

  • 1.  Adding a related record - save and close to stay on the related record

    Posted 08-03-2018 20:11
    When click save when saving a child record - Quickbase always pops me back to the parent table.  Is there anyway to make it stay on the child record after it being saved?


  • 2.  RE: Adding a related record - save and close to stay on the related record

    Posted 08-03-2018 20:14
    Yes,
    Please post your code for the Add Child button and we will show you how modify it.


  • 3.  RE: Adding a related record - save and close to stay on the related record

    Posted 08-03-2018 20:23
    Thanks!  its the Native quickbase code but here it is from the field:

    URLRoot() & "db/" & [_DBID_RATES] & "?a=API_GenAddRecordForm&_fid_6=" & URLEncode ([Record ID#])& "&z=" & Rurl()



  • 4.  RE: Adding a related record - save and close to stay on the related record

    Posted 08-03-2018 20:27
    If you remove or comment out that last part it will not return to the Parent
    If you use//then what follows is a comment and not code.

    URLRoot() & "db/" & [_DBID_RATES] & "?a=API_GenAddRecordForm&_fid_6=" & URLEncode ([Record ID#])

    //& "&z=" & Rurl()


  • 5.  RE: Adding a related record - save and close to stay on the related record

    Posted 08-03-2018 20:31
    that's great - thanks so much for your help, as you can tell, I'm not well educated with the coding so I really appreciate the help.