M Major Jan 11, 2004 #1 hi all i want to call the datareport from the form in the vb.net but i can't do that?
B Bernie Yaeger Jan 11, 2004 #2 Hi Major, Set up a form with a crystalreportviewer object on it and call the form, something like this: gl_browseprintvar = "f:\imcapps\natman3.rpt" Dim newmdichildb As New reportprinter_viewerparam newmdichildb.MdiParent = Me.MdiParent newmdichildb.Show() Inside the form with the viewer, call the report like so: CrystalReportViewer1.ReportSource = gl_browseprintvar HTH, Bernie Yaeger
Hi Major, Set up a form with a crystalreportviewer object on it and call the form, something like this: gl_browseprintvar = "f:\imcapps\natman3.rpt" Dim newmdichildb As New reportprinter_viewerparam newmdichildb.MdiParent = Me.MdiParent newmdichildb.Show() Inside the form with the viewer, call the report like so: CrystalReportViewer1.ReportSource = gl_browseprintvar HTH, Bernie Yaeger