Forum Discussion
BalaAboki
7 years agoQrew Trainee
Thanks Matthew,
Tried this will variable and I am getting an syntax error (Declaration must end with a semi-Colon). Formula below.
var text URL1= URLRoot() & "db/bm2icyt3r?a=API_GenAddRecordForm&_fid_29=" & URLEncode ([Record ID#]) & "&_fid_3=" & "&z=" & Rurl() & "&dfid=10;
var text URL2= URLRoot() & "db/bm2icyt3r?a=API_GenAddRecordForm&_fid_29=" & URLEncode ([Record ID#]) & "&_fid_3=" & "&z=" & Rurl() & "&dfid=11;
var text URL3= URLRoot() & "db/bm2icyt3r?a=API_GenAddRecordForm&_fid_29=" & URLEncode ([Record ID#]) & "&_fid_3=" & "&z=" & Rurl() & "&dfid=2;
Case([Inspection Type], "FSV",$URL1,"Interim Inspection",$URL2,
"FSV Pre-Check",$URL3, Null)