Page 1 of 1

printIt() from subform

PostPosted: Fri Aug 19, 2011 10:47 pm
by zazzium
Is there any easy way to use a button with printIt(pCode) or pdfIt(pCode) directly from subform with the row id to call a report?

...with the form where the subform is it's easy, u can create a button with printIt(pCode), and in the report code u can set the
SQL ...WHERE id = '$formValue['recordID']'...

one solution would be to direct the subform row entry to a new form and use printIt(pCode) from there,
but I would like to skip this extra step for the user.

Thanks,
zazz