
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