Place a
Crystal Report Viewer (name as crViewer) on your form.
Then use following code:
Dim oApp As CRAXDRT.Application 'Crystal Reports' Applicaion Object
Dim MyRpt As CRAXDRT.Report 'Crystal Reports' Report Ojbect
Set oApp = Nothing
Set oApp = New CRAXDRT.Application
'Get Crystal Report you have created
Set MyRpt = oApp.OpenReport(App.path & "\Reports\Sample.rpt", 0)
crViewer.ReportSource = MyRpt
crViewer.ViewReport
'Hope this will help
Quote:
> Hi all,
> I have created my report in CR and am ready to display it in my form,
> however I can't seem to find any samples to work, everything I find seem
to
> relate to 8.0 and older.
> Is there a FAQ around to help me with this?
> If I can get it to display I can play with it from there,
> Any help would be appreciated.
> --
> Jay Calvert
> Please post to group so that others can benefit