Forum Discussion
QuintenQuinten
8 years agoQrew Assistant Captain
I am getting an error stating that I need to add a semicolon. The "db/" of the second variable all the way to the end of the code is underlined in the error. I did add a semicolon at the end of [Record ID#] but that didn't fix it.
var text ADD = URLRoot() & "db/bkxq4vvkf?a=API_GenAddRecordForm&_fid_126=" & [Record ID#]
& "&_fid_23=" & URLEncode(UserToName(User()))
& "&dfid=10;
var text RETURN = URLRoot() & "db/" & dbid() & "?a=dr&rid=" & [Record ID#];
$ADD
& "&NextURL=" & URLEncode(RETURN)
var text ADD = URLRoot() & "db/bkxq4vvkf?a=API_GenAddRecordForm&_fid_126=" & [Record ID#]
& "&_fid_23=" & URLEncode(UserToName(User()))
& "&dfid=10;
var text RETURN = URLRoot() & "db/" & dbid() & "?a=dr&rid=" & [Record ID#];
$ADD
& "&NextURL=" & URLEncode(RETURN)