Forum Discussion

JamilIdun-Ogde's avatar
Qrew Member
2 years ago

URL Button to edit record and return to original launch screen

I'm trying to get a url button from a report to edit a record and return to the original launch point. This is my code. The edit works, but I cant get the screen to refresh. 

var text ReturnToOriginalLaunchPoint = "";
URLRoot() & "db/"& Dbid()
& "?act=API_EditRecord&apptoken=xxxxx
&rid=" & [Record ID#]
& "&_fid_6=" & URLEncode(1)

& "&NextURL=" & URLEncode($ReturnToOriginalLaunchPoint)

I get an error message..

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<errtext>No error</errtext>

Jamil Idun-Ogde

2 Replies