Hello everyone
I m new to
vb and crystal report.I m working on project in vb6.Plz help
I m getting error :Method or data Member not found
In my project ,there is a form which prints the client label.After selecting the record ,whenever i clicked the print tab ,it gives Error as Method or data Member not found
The code is
With CR1
.DiscardSavedData = True
.ReportFileName = App.path & "\" & "ClientLabelReport.rpt"
.SQLQuery = sqlstr
.WindowTitle = "Client Print Label"
.WindowState = crptMaximized
.Destination = crptToWindow
.PrintReport
.DiscardSavedData = True
End With
In this case as I run the project ,It gives error and comes on this line .DiscardSavedData = True
Cr1 in this case shows as picture box instead of crystal report object