JIMLIEDER1
6 years agoQrew Cadet
Is there a way to print a form & update a checkbox field to show the form has printed?
Is there a way to construct a button that will print a form, and then update a checkbox field in the record to show that the record has been printed? This is the formula I'm using, and it prints the form (URLONE, but doesn't do the 2nd & third steps.
var text URLONE = URLRoot() & "db/" & [_DBID_REPAIR_TASKS] & "?a=printr" & "&dfid=10" & "&rid=" &[Record ID#];
var text URLTWO = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&_fid_92=true" & "&apptoken=abc" & "&rid=" &[Record ID#];
var text URLTHREE = URLRoot() & "db/" & Dbid() & "?a=q&qid=1";
$URLONE
& URLEncode($URLTWO)
& URLEncode("&rdr=" & URLEncode($URLTHREE))
------------------------------
Jim
------------------------------
var text URLONE = URLRoot() & "db/" & [_DBID_REPAIR_TASKS] & "?a=printr" & "&dfid=10" & "&rid=" &[Record ID#];
var text URLTWO = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&_fid_92=true" & "&apptoken=abc" & "&rid=" &[Record ID#];
var text URLTHREE = URLRoot() & "db/" & Dbid() & "?a=q&qid=1";
$URLONE
& URLEncode($URLTWO)
& URLEncode("&rdr=" & URLEncode($URLTHREE))
------------------------------
Jim
------------------------------