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. loading more than 1 crystal report cause a run time error

2. Help Run time error 20534 Crystal Reports

3. Help: Run time error 20534 Crystal reports

4. Run Time error when printing Crystal Report.

5. Run Time error when printing Crystal Report.

6. Run-time error 20534 with crystal report

7. Run Time error when printing Crystal Report.

8. Help!...Run-time error with Crystal Report

9. Run Time Error when printing Crystal Report

10. Run-time error 48 Error in loading DLL in XP

11. CRYSTAL REPORT, run time query report by date

12. Run-time error '31037': Error load form file

 

 
Powered by phpBB® Forum Software