ZVIBOCK
8 years agoQrew Cadet
How do I make changes save and return to where record was opened from
I have a button button that sets the record status to complete and then returns the user to his home page. The code is
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=dxegd2ebb2dznd3pu7vi9wf2isr" &
"&_fid_16=COMPLETED" &
"&_fid_13= " & Today()
& "&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid())
However users are complaining that they want to be returned to where they came from. Also I need to do a general save on the record to capture chnges that the user might have amde to to other fields. Is there a way to make the changes and then trigger the native save.
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=dxegd2ebb2dznd3pu7vi9wf2isr" &
"&_fid_16=COMPLETED" &
"&_fid_13= " & Today()
& "&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid())
However users are complaining that they want to be returned to where they came from. Also I need to do a general save on the record to capture chnges that the user might have amde to to other fields. Is there a way to make the changes and then trigger the native save.