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.
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.