Forum Discussion

Re: URL Button that changes field in the same record

Mackenzie
try this

var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" &  [Record ID#]
& "&apptoken=APPTOKEN" 

& "&_fid_12=Yes";

"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);"



The problem with your original formula was that you were trying to put the app token into where it was expecting the rid (Record ID)

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
[email protected]
------------------------------
No RepliesBe the first to reply