Implementing Lebans "ReportToPDF" For Current Record Only

T

tlyoung99

I currently have a command button to show an invoice report for the current
record only using the DoCmd.OpenReport with a Where Condition.

I would like to adapt Lebans "ReportToPDF" functionality so that I can add
the Where Condition but can not figure out how to do so.

I am guessing that I could use my same DoCmd.OpenReport function to create a
temporary report and then implement Lebans code, but I was hoping that there
would be a simpler solution.

Any help would be greatly appreciated.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top