need help for printing crystal report from vb 
Author Message
 need help for printing crystal report from vb

I am trying to print a particular Crystal Report
 by just clicking on a pushbutton in Visual Basic scree.

 Any one has any ideas... or has experience....

 Any help will be appreciated ......



Tue, 04 May 1999 03:00:00 GMT  
 need help for printing crystal report from vb



Quote:
>I am trying to print a particular crystal report
> by just clicking on a pushbutton in visual basic scree.

> Any one has any ideas... or has experience....

> Any help will be appreciated ......

just add the Crystal custom control (right click the toolbox, select
Custom Controls, check Crystal Reports)

Call the control thus:

Private Sub cmdPrintReport_Click()

        CrystalReports1.Destination = 2
        CrystalReports1.Action =1

End Sub

(Destination 1 : Screen (from where you can print), 3 :file (why?))

hope that helps
--
Simon





Wed, 05 May 1999 03:00:00 GMT  
 need help for printing crystal report from vb

Hi CCai,
sub cmdbutton_click()
   CrystalReport.ReportFileName = "report1.rpt"
   CrystalReport.Action = 1    
end sub

Hope tis helps,
Nano.


Quote:
> I am trying to print a particular crystal report
>  by just clicking on a pushbutton in visual basic scree.



Sat, 08 May 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Printing Crystal Reports report help needed

2. Need help printing LARGE reports with vb3.0 and Crystal Reports

3. Need help printing LARGE reports with VB3.0 and Crystal Reports 4.5

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

5. Please Help Newbie Crystal Report / VB help needed.

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

7. Printing report from Dynaset using Crystal Report and VB

8. Need help with Crystal Reports for VB

9. Need help with Crystal Reports for VB

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

11. Need help with Crystal Reports for VB

12. Need help creating graphs in Crystal Reports from VB 5.0

 

 
Powered by phpBB® Forum Software