hi guys.. why is it that i keep getting this error whenever i activate the view form in my program. im using crystal reports9 , vb6 and SQL Server 2000 as a database. here is my code:

Set rptapp = New CRAXDDRT.Application
Set rpt = rptapp.OpenReport(app.Path & "\reports\rptmemo.rpt")

With rpt
.RecordSelectionFormula = "{GMOMemodetails.memodetailid}='" & selecteddetailid & "'"
End With

With crview
.ReportSource = rpt
.ViewReport
' While .IsBusy
' DoEvents
'Wend
.Zoom "90"
.Visible = True
End With
Set app = Nothing 'here is the highlighted area whenever the error comes
Set rpt = Nothing


what should i supposed to do?