Forum Discussion

olivermah's avatar
olivermah
Qrew Assistant Captain
6 years ago

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

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?

4 Replies

  • Yes,
    Please post your code for the Add Child button and we will show you how modify it.
  • olivermah's avatar
    olivermah
    Qrew Assistant Captain
    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()

  • 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()
  • olivermah's avatar
    olivermah
    Qrew Assistant Captain
    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.