Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
i have put an application in the exchange called URL Formuals for Dummies. It explains who to string URLs together.
But here is what should work for your example. I like to use "formula variables" as it makes the formuals much easier to read.
var text URLONE = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" & "&AppToken=buawcnbd5pjszvdimycfs3jdpzd" &
"&rid=" & [Record ID#] &
"&_fid_107=" & URLEncode(User())
var text URLTWO = URLRoot() & "db/" & [_DBID_APPOINTED_LEADS] & "?a=API_GenAddRecordForm&_fid_21=" & URLEncode ([Agency Name])& "&z=" & Rurl())
$URLONE
& "&rdr=" & URLEncode($URLTWO)
But here is what should work for your example. I like to use "formula variables" as it makes the formuals much easier to read.
var text URLONE = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" & "&AppToken=buawcnbd5pjszvdimycfs3jdpzd" &
"&rid=" & [Record ID#] &
"&_fid_107=" & URLEncode(User())
var text URLTWO = URLRoot() & "db/" & [_DBID_APPOINTED_LEADS] & "?a=API_GenAddRecordForm&_fid_21=" & URLEncode ([Agency Name])& "&z=" & Rurl())
$URLONE
& "&rdr=" & URLEncode($URLTWO)