I have a grid which gives me a list of of brokers that need statements printed. I have a run button setup so the user can select the brokers for which to print statements. I have createda PDFReport which prints the statment I need exactly however if I select multiple records from my grid and click the print selected run button only the last one prints. Ideally I would like to open a file and put all the pdfreports for all the selected records into a single PDF. How do I take a set of records and run the pdfReport for each?
I solved this on my own. If the sql in the pdf returns more than one record you get all of them in a single pdf file.