loading more than 1 crystal report cause a run time error 
Author Message
 loading more than 1 crystal report cause a run time error

hi ..
i'm using VB5 .. a problem occured to me as follows :
i used a form which loads one of 4 crystal reports based on the user's
choose .. he can open one for viewing (printing to screen ) and close the
form and this was well .. but when he opens more than one report after
eachother ( close one and open the other ) and then close the form .. a
VB run time error occures .. i reviewed the code .. Is this a bug in VB ?
adn if so .. does it has a patch ?? or there is another way to overcome
this ?
thans very much for reading this .. and i'll be more thankfull if one
replied me with an answer ..
thans again



Sun, 12 Nov 2000 03:00:00 GMT
 loading more than 1 crystal report cause a run time error

Quote:

> hi ..
> i'm using VB5 .. a problem occured to me as follows :
> i used a form which loads one of 4 crystal reports based on the user's
> choose .. he can open one for viewing (printing to screen ) and close the
> form and this was well .. but when he opens more than one report after
> eachother ( close one and open the other ) and then close the form .. a
> VB run time error occures .. i reviewed the code .. Is this a bug in VB ?
> adn if so .. does it has a patch ?? or there is another way to overcome
> this ?
> thans very much for reading this .. and i'll be more thankfull if one
> replied me with an answer ..
> thans again

Hi,

I had the same problem. This is a heavy bug in Crystal Reports!

Just put one single Crystal OCX on your form and set its properties at
runtime before opening it depending on the user selection.

This works fine for me. Hope it helps you too...

Hannes B.



Mon, 13 Nov 2000 03:00:00 GMT
 loading more than 1 crystal report cause a run time error

Do you have TWO Crystal Reports Controls on the form ?? If so this is what
is causing the problem.You should only have one. Have the code change the
report name.

MMCA

Quote:

>hi ..
>i'm using VB5 .. a problem occured to me as follows :
>i used a form which loads one of 4 crystal reports based on the user's
>choose .. he can open one for viewing (printing to screen ) and close the
>form and this was well .. but when he opens more than one report after
>eachother ( close one and open the other ) and then close the form .. a
>VB run time error occures .. i reviewed the code .. Is this a bug in VB ?
>adn if so .. does it has a patch ?? or there is another way to overcome
>this ?
>thans very much for reading this .. and i'll be more thankfull if one
>replied me with an answer ..
>thans again



Tue, 14 Nov 2000 03:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Run Time error when printing Crystal Report.

2. Help Run time error 20534 Crystal Reports

3. Run Time Error when printing Crystal Report

4. Help: Run time error 20534 Crystal reports

5. CRYSTAL REPORT, run time query report by date

6. Crystal Reports/vdbase...record selection at run time

7. Crystal Reports Run-time problem

8. Crystal Reports run-time files

9. Updating Crystal Report data at run time

10. Refresh Data at Crystal Reports run time

11. Crystal Report: How to Set Location of OLE object at Run Time

12. Crystal Report & Run time tables


 
Powered by phpBB® Forum Software