I am using
VB 6 and Crystal Report 9. When I click the button to generate the report it gives me the error. I am in big trouble, please anybody help me.
Code is given below.
Private Sub Command2_Click()
Dim rs As New Recordset
Dim a As Long
Dim h As String
crystal.DiscardSavedData = True (COMPILER ERROR: METHOD OR DATA MEMBER NOT FOUND)
crystal.ReportFileName = App.Path & "\newd.rpt"
crystal.SelectionFormula = "{Personal.Heads} = '" & Combo1.Text & "' "
crystal.Action = 1
End Sub
Zaeem Sherazi