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

  • 1
  • 1
  • Question
  • Updated 12 months ago
  • Answered
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?
Photo of oliver mah

oliver mah

  • 930 Points 500 badge 2x thumb

Posted 12 months ago

  • 1
  • 1
Yes,
Please post your code for the Add Child button and we will show you how modify it.
Photo of oliver mah

oliver mah

  • 930 Points 500 badge 2x thumb
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()
Photo of oliver mah

oliver mah

  • 930 Points 500 badge 2x thumb
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.