1: 2: 3: 4: 5: 6:
'resultset is of type rdoResultset - through debugging, I've verified the resultset data is properly populated rs = rdoDbConn.OpenResultset(someSqlStatement, rdOpenKeyset) Me.Database.DiscardSavedData Me.Database.SetDataSource rs
1: 2: 3: 4: 5: 6: 7: 8:
Dim aRpt as IReport Dim boAbort as Boolean boAbort = False aRpt = new rptObject() aRpt.ReportInit boAbort CRViewerMain.ReportSource = aRpt CRViewerMain.ViewReport
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
Dim rpt as CRAXDDRT.Report Dim app as CRAXDDRT.Application rs = rdoDbConn.OpenResultset(someSqlStatement, rdOpenKeyset) rpt = app.OpenReport("reportpath/report.rpt") rpt.DiscardSavedData rpt.Database.Datasource = rs CRViewerMain.ReportSource = rpt CRViewerMain.ViewReport