printIt() from subform

printIt() from subform

Postby zazzium » Fri Aug 19, 2011 10:47 pm

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
zazzium
 
Posts: 84
Joined: Mon Jul 04, 2011 8:22 am

Return to General