Forum Discussion

JIMLIEDER1's avatar
JIMLIEDER1
Qrew Cadet
5 years ago

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
------------------------------

1 Reply

  • Try doing just two steps but update the checkbox first.

    $URLTWO
    & URLEncode($URLONE)

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------