Forum Discussion
DonLarson
6 years agoQrew Elite
Curtis,
Here is the cheat sheet for all the ones I build
// Declare Token
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
Here is the cheat sheet for all the ones I build
// Declare Token
var text Token ="abcdefghijklmnopqrstuv";
// Declare URLs
var text URLGenAdd =
URLRoot() & "db/" & [_Table] &
"?a=API_GenAddRecordForm&_fid_8=" & URLEncode ([Record ID#])&
"&dfid=10" &
"&z=" & Rurl();
var text URLAPIEdit =
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken="& $Token & "&rid=" &[Record ID#] & "&_fid_14="&1;
var text URLAPIAdd =
URLRoot() & "db/" & [_Table] & "?a=API_AddRecord&AppToken=" &$Token & "&_fid_6=" & URLEncode ([Record ID#]);
var text URLEdit =
URLRoot() & "db/" & Dbid() & "?a=er&rid="&URLEncode([Record ID#])&"&dfid=12"& "&z=" & Rurl();
// Java Execute URL
"<a href=\"javascript:" & "$.get('" & $URL & "', function(){" & "location.reload();" & "});" & "void(0);\">"&$IMG&"</a>"
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
CurtisMiddleton
6 years agoQrew Trainee
Don,
Thank you for your help.
I appreciate the cheat sheet.
Regards,
------------------------------
Curtis Middleton
------------------------------
Thank you for your help.
I appreciate the cheat sheet.
Regards,
------------------------------
Curtis Middleton
------------------------------