Forum Discussion
MarkShnier__You
Qrew Legend
3 years agoBecky, the native Add Child button will do that for you. Maybe you made a change to that button and took away that functionality.
Here's is what the typical button code looks like
URLRoot() & "db/" & [_DBID_TIME_RECORDS] & "?a=API_GenAddRecordForm&_fid_11=" & URLEncode ([Record ID#])
& "&z=" & Rurl()
That last part in bold is what makes it return to the parent record. There are fancier ways to do this if you have a special situation but the native behaviour should do what you want.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
Here's is what the typical button code looks like
URLRoot() & "db/" & [_DBID_TIME_RECORDS] & "?a=API_GenAddRecordForm&_fid_11=" & URLEncode ([Record ID#])
& "&z=" & Rurl()
That last part in bold is what makes it return to the parent record. There are fancier ways to do this if you have a special situation but the native behaviour should do what you want.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
BeckyHeineman
3 years agoQrew Member
Thanks Mark, I'll give it a go! We haven't changed any of the Save & Close button functionality that I'm aware of, but it's possible. We just have some child tables that when the new record is saved and closed return the user back to the child table report instead of the parent record. This should help that!
------------------------------
Becky
------------------------------
------------------------------
Becky
------------------------------