it is not generating the report file. in the event log of my project it stating the following:
09/30/2004, 12:02:15 PM, 4, 0, :Invalid file handle.
09/30/2004, 12:02:19 PM, 4, 0, :Invalid file handle.
I'm trying to use the following code:
Private Sub cmdReport_Click()
'rpttracker is the name of the crystal report
rpttracker.ReportFileName = App.Path & "\tracker.rpt"
rpttracker.SQLQuery = "Select * from tracker where Login_ID = '" & txtID.Text & "'"
rpttracker.PrintReport
End Sub
Please help.