Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error 20553

Status
Not open for further replies.

moben

IS-IT--Management
Feb 5, 2002
116
GB
I am getting error 20553 when I run one of two crystal reports (version 8.5) from a VB6 application.

I have the followign 'if' condition:

1 if Name="Smith" then
2 crObject.reportfilename="Report1"
3 else
4 crObject.reportfilename="Report2"
5 endif
6 crObject.action=1
7 crObject.pagezoom(100)

The error occurs on line 6, following a successful print of Report2, the condition in the vb code is changed so that Report1 will be printed.

Its as if I can not print Report1, immdiately after having printed Report2.

Both reports having been printing ok, but on this occassion the user had got a print of Report2, and then went to print Report1, when the error occurred.

Any ideas or comments would be gratefully appreciated.

Thanks,

Moben.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top