3

Printing reports without showing Form (where report is created)

view full story
linux-howto

http://www.daniweb.com – I have a small problem with printing reports (made by crystal reports). In Form1 I have a list of customers in a ListView (with checkboxes). If the users selects one customer (checkes ONE checkBox) the report is shown - and the report it self has on option to print. If the user selects more then one, I do not want to show both reports, but only directly to print what is on both reports. How to go into the Form2 class where the report is created, without calling form2.Show(); ? From Form1 all the required values are gathered into DataSet, which is then passed to Form2 - for every single selected customer. (General)