Crystal Reports printing through VB 
Author Message
 Crystal Reports printing through VB

Can someone help
I am trying to use the Crystal Reports in Visual Basic to print a report

How can i code this in VB 5.0
Can i create a button to print it by clicking the button ?
In the tool BAR there is Crystal Preort 4.6 control How can i use this
to print a report based in a Query from an ACCESS Database.
Any help woulfd be appreciated
Thanks
Jawahar



Sun, 22 Apr 2001 03:00:00 GMT  
 Crystal Reports printing through VB
The quick answer for just one simple report is to place the crystal reports
control on your form. Once you have done that, you click with your right
mouse button on the crystal reports control and choose "crystal properties"
from the popup menu. Associate the report in the crystal reports properties
by using the 'ReportFileName' field and browsing for your report, or typing
the report path and file name in the text box.

You would then create a button and on the click event you would call the
crystal report print action as:

CrystalReport1.Action = 1

(this sends the report directly to the printer, however, I suggest that in
the crystal properties, you select the option to send the report to a
window. That will give the user an opportunity to view the report first and
either print it or save it to a text file).

Hope this helps.

Dawn

You associate the report you created to the

Quote:

>Can someone help
>I am trying to use the Crystal Reports in Visual Basic to print a report

>How can i code this in VB 5.0
>Can i create a button to print it by clicking the button ?
>In the tool BAR there is Crystal Preort 4.6 control How can i use this
>to print a report based in a Query from an ACCESS Database.
>Any help woulfd be appreciated
>Thanks
>Jawahar



Sun, 22 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

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

2. Crystal Reports ANd VB 6.0 Printing reports using CRPEAUTO Object, specifying paper orientation problem

3. Printing report from Dynaset using Crystal Report and VB

4. Print a report via crystal reports without print dialogue displaying

5. printing without crystal report or data report for non data base reports

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. Different between VB's Crystal Report and Seagate Crystal Report

9. HOW TO PRINT A CRYSTAL REPORT WITH VB

10. Printing with VB and Crystal Reports

11. VB 4.0 (16-Bit)/Crystal Reports 3.0.1.32 (16-Bit) Print Preview Maximize Window

12. Crystal Reports/VB print preview resize in window?

 

 
Powered by phpBB® Forum Software