In my application I have added a Form on which I placed a CrystalReport-control and a CRViewer-control. I want all my reports to be shown on this Form. It's an MDIChild so it forms a group with the rest of the application.

I have to following code to show the report, but I don't get the viewer filled.

CrystalReport.ReportFileName = "D:\Report.rpt"
frmProef.CryRapport.SetTablePrivateData 0, 3, rs.DataSource
CrViewer.ReportSource = ''''HELP I DON'T KNOW HOW TO FIL THE SOURCE!!!!''''
CrViewer.ViewReport
CrViewer.Show