|
-
Oct 22nd, 2006, 09:34 AM
#1
Thread Starter
Addicted Member
[RESOLVED] VB Error opening CR 4.6.0.1
I'm having some trouble opening the correct report using VB6. There are 2 reports (so far). If I simply use:
CrystalReport1.PrintReport the first report I created is printed no matter how many reports I may have.
I then created a second report called "TeamStat.rpt" and wish to open it. Using this code I get an error "Object variable or With block variable not set"
With CrystalReport1
.ReportFileName = App.Path & "\TeamStat.rpt"
.Action = 1
End With
Can someone shed some light on this for me?
TIA
Ken
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
|