Crystal Reports Canned Code 
Author Message
 Crystal Reports Canned Code

Does anybody have some canned code to display and print a report done
in Crystal Reports(CR) using a parameter.
I have added the CR control to my project after developing the report
in CR 7.0.  The parameter report, which used a key field in an Access
database works fine in the CR environment.  Howerever, when I run it
from within VB I have the following problems.
1.  The only report I can get to view is the last report I had up in
CR.  If I selected another record with a different key, I get an
error.
2.  Even when it runs using the same Key value as last used in CR, I
see no changes after I edit the record.

I have made sure I have the reference to the Crystal Reports Object
Library 7.0.  I'm hoping it's just a matter of syntax and that someone
has some canned code for displaying and printing a CR parameter report
in VB.

Thanks,
Tom



Sun, 25 Aug 2002 03:00:00 GMT  
 Crystal Reports Canned Code


Quote:
>Does anybody have some canned code to display and print a report done
>in Crystal Reports(CR) using a parameter.
>I have added the CR control to my project after developing the report
>in CR 7.0.  The parameter report, which used a key field in an Access
>database works fine in the CR environment.  Howerever, when I run it
>from within VB I have the following problems.
>1.  The only report I can get to view is the last report I had up in
>CR.  If I selected another record with a different key, I get an
>error.
>2.  Even when it runs using the same Key value as last used in CR, I
>see no changes after I edit the record.

>I have made sure I have the reference to the Crystal Reports Object
>Library 7.0.  I'm hoping it's just a matter of syntax and that someone
>has some canned code for displaying and printing a CR parameter report
>in VB.

Not sure about CR7, but in CR4.5 there is an option you can set to
'Refresh Report Data With Every Print'.

Have you tried that?

--
Andy Anderson
www.barrows.demon.co.uk/



Sun, 25 Aug 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Crystal Reports vs VB reports in code

2. Printing Crystal Reports without Crystal Control ActiveX or Crystal Reports API call

3. Linking Crystal Report with a stored Procedure -- crystal report for visual studio.net

4. Crystal Report 6 and Crystal Report 8

5. Crystal Report 6 and Crystal Report 8

6. Crystal Reports 8.5 (VB6) to Crystal Reports NET (VB.NET) conversion

7. vb .net crystal reports not compatible with Crystal Reports 8.5

8. Passing Parameters from C# to Crystal Report / Crystal Report Viewer

9. Utilisation de crystal report/Use of Crystal Report

10. Different between VB's Crystal Report and Seagate Crystal Report

11. Crystal Report 7 ActiveX (craxdrt.dll) vs Crystal Report Engine (CPEAUTO.dll)

12. Crystal Reports 6 to Crystal Reports 8

 

 
Powered by phpBB® Forum Software