A1VBCode Forums

Method or Data member not found error


http://www.a1vbcode.com/vbforums/Topic31876.aspx

By SalahuddinAhmed570 - 2/15/2013

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