Reports help - new to VS2008 Standard
-
Hello all, I've just installed a copy of VS2008 Standard, and I'm looking at the MicrosoftReportViewer, and the ability to design a new report from it. To get started with it, I'm using the wizard. What I'm finding is that the report doesn't display anything (data), although it is displaying the header text, and field names. The way I'm firing the report is via a button on form MultipleLicenceResponse.vb. This form has a DataGridView (dgvResponseData) on it, which gets its data from tblResponseData. This is opening LicenceReportPreview.vb via ...
Dim frmReport As New LicenceReportPreview With frmReport .Licence = "Display anything in this field for now" .LicenceTable = tblResponseData ' Just to see if I can access this instead - which I can't! End With frmReport.ShowDialog()
The report wizard gets its object data from the LicenceReportPreview.vb class, where I'm selecting the LicenceReportPreview as the object and, for now, just the Licence property (which should be the string, "Display anything in this field for now") .... just to get something on the report! What am I missing? Does anybody know of a good tutorial that I can follow which shows me how to get the contents of my table onto the report?