ChrisNewsome
5 years agoQrew Captain
Open Print dialog when clicking "print exact form" button
Ok, I've gotten this to work with regular forms before, but I cannot get this to work with an exact form. I have a button to open the form in a new window and, on regular forms, it automatically fires the print dialog. However, trying the same syntax does not work with the exact forms button. Here is what my code looks like:
------------------------------
Thanks,
Chris Newsome
------------------------------
URLRoot() & "db/" & Dbid() & "?a=dbpage&pagename=" & URLEncode("Work Order Cover Sheet .html") & "&clist=a&apptoken=XXX&rid=" & "?a=printr&rid=" & [Record ID#]
Of course I've XXX'd out the app token above. (it doesn't even require them, but this button was auto-generated) Any ideas why this won't work?
------------------------------
Thanks,
Chris Newsome
------------------------------