Hi All,

I need to print a form in VB.net 2008. I get my data from a SQL table and it displays well. For the Summary, I can simply use PrintDocument and it works very well.

My problem is in the Detail Report. For each Supervisor, I have to add the actual workers and their data. A supervisor could have 3 or 30 workers. So then the issue is that it runs onto multiple pages. I need to add a header (title of report one line only) and then a footer with the page number and the date/time of printing.

Attached is what the Summary looks like now.

For each employee, I need to add a row with their number, name and hire date
then rows like below. Each worker could have 4 or 5 rows depending on the op codes they worked in that week and I need a total of all.
type(total or detail) / Op Code / Goal Units / Units Proc / Unit Errors / On Std Hrs / Off Std Hrs / Performance / Accuracy / On Std %

So my question is how do I make VS 2008 print that report for me?

All your help is greatly appreciated.