Friday, March 23, 2012

How to run the crystal report

Hi !
i am new to the crystal report.
can u help me?
how to run the crystal report?
tell me the procedure detail
rgds
anitaHi!

1) Insert the Crystal Report Runtime Control Properties from Project Properties.

2) Add the New Crystal Report using Project Explorer. when u click right button it will be displayed.

3) Choose the Report type in Crystal Report Gallery

4)Click the Project Button and Select the ODBC or OLEDB for your database.

5) And follow the continued.

6) then run your project.

Dim Report As New CrystalReport1
Private Sub Form_Load()
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault

End Sub

Private Sub Form_Resize()
CRViewer1.Top = 0
CRViewer1.Left = 0
CRViewer1.Height = ScaleHeight
CRViewer1.Width = ScaleWidth

End Sub|||I have example code in my signature - "VB6/Crystal Report Ex."

No comments:

Post a Comment