I was trying to generate report using VB 6 and Crystal Report 8 with following code
crt.SelectionFormula = ""
crt.ReportFileName = "E:\HSS\Salary\SalReports\rptPrintSalary.rpt"
crt.SelectionFormula = "{PrintSalaryT.ProjectCode}='" & code(0) & "' and {PrintSalaryT.OfficeCode}='" & cboOfficeCode & "' and {PrintSalaryT.EffectiveMonth}= #" & mskEffectiveMonth & "#"
crt.WindowState = crptMaximized
crt.Action = 1
The result is ending with the error message "Method or Data member not found"
can anybody get me out of this
|