Rurl() doesnt return to correct Form Page
I am using the add child record button that's created from the relationship. The button exists on the 5th page (tab) of the form. Once I finish creating the child record and save it, it does bring me back to the form, but on the first tab. The only time it returns me to the correct tab is if I refresh the window on the form page that the button is on and then click the button. Is there anyway to use a "custom" Rurl() so that it always sends you back to the correct form page? Or is there another method to return to the form page? This button does require user input so the rdr method doesn't apply I believe.
The current formula is (sensitive data replaced with XXX):
URLRoot() & "db/" & [_DBID_XXX]
& "?a=API_GenAddRecordForm&_fid_19=" & [Record ID#]
& URLRoot() & "&z=" & Rurl()
------------------------------
Dustin Johnson
------------------------------