Previous release of our application was running with Visual Basic 6 w/Crystal Reports version 5.1. Our application references
.rpt files to print reports via a File Menu dropdown list option. We completed a conversion from VB 6.0 to VB .Net 2003,
still utilizing Crystal Reports version 5.1.
Here's a sample of the simple logic that is used to print one of our reports via the Crystal Reports object:
Crystal Report Object ==>
CrystalReport1 AxCrystal.AxCrystalReport
CrystalReport1.ReportFileName = AppDir & "sanc.rpt"
CrystalReport1.SelectionFormula = "{SA.MEAS_PRD}='" & Detail_flow_MP & "'"
CrystalReport1.Destination = 1
CrystalReport1.Action = 1 'execute the print command
We're now are in the process of converting to VB .Net 2005 and also Crystal Reports XI .Net Framework version 2.0.
Based on some investigation, I am attempting to accomplish the same processing utilizing the ReportDocument
Object. Can you provide me with some samples on how to utilize the ReportDocument object to perform this
print processing.