Forum Discussion
QuickBaseCoachD
Qrew Captain
You did not try what I suggested.
I gave you the exact code to try but it had a small syntax error. This is tested.
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_12="&URLEncode("Closed");
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I gave you the exact code to try but it had a small syntax error. This is tested.
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_12="&URLEncode("Closed");
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
AdminEntry
8 years agoQrew Cadet
Sorry, I was just referring to the example to which I added my comment:
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_12="&URLEncode("Closed");
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I noticed that the edit action does not always get executed, although the refresh (reload) does. Sometimes the records just don't get updated.
I'll create a new post if I still need an answer. Thanks!
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_12="&URLEncode("Closed");
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I noticed that the edit action does not always get executed, although the refresh (reload) does. Sometimes the records just don't get updated.
I'll create a new post if I still need an answer. Thanks!