|
-
Jun 19th, 2012, 03:05 AM
#1
Thread Starter
Member
[RESOLVED] object doesn't support property or method
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|