What version of Crystal reports?
Assumptions:
Configuring the project:
Coding the project:
"rpt.Action = 1"
Sample code:
rpt.WindowTitle = Me.Caption
rpt.Connect = "[Insert ADO Connection String here]"
rpt.ReportFileName = sReportsDirectory + "\SomeReport.rpt"
rpt.DiscardSavedData = True
rpt.ProgressDialog = True
rpt.SQLQuery = "select field1, field2, field3 from tbl1 where field4 = 'Y'"
rpt.Action = 1
Data report it reports data .. Crystal report it reports crystal thanks GENIUS
The reports are easier to create iin crystal report.
thanks
You can we the default support provided by vb or use other reporting tools like crystal reports. To use the default support select data report from components. To link the data report to database you will have to include a data environment component, ink the control to the database by selecting its properties and then link this data environment to the data report. You can call the data report the same way other forms are called.
imgscan.SetScanCapability 100, 1 ' Noir et blanc
is : CrystalReport1.Reset CrystalReport1.ReportFileName="MyReport.rpt" CrystalReport1.Destination=(Printer) CrystalReport1.Action=6 CrystalReport1.DiscardSaveData=True
In Crystal Reports, you can write the query directly in the report designer. In the "Database Expert" window, right-click on "Add Command" and write your SQL query to retrieve the single record. After defining the query, you can link it to your report elements to display the data accordingly. Using VB6, you can then call the Crystal Report Viewer to display the report with the single record retrieved from the database.
Data report it reports data .. Crystal report it reports crystal thanks GENIUS
The reports are easier to create iin crystal report.
VB6 is a more recent and more advanced version of visual basic.
There are a few books that are available to explain how to create a report with Crystal Reports 10. One such book would be Creating a Report with Crystal Report 10 - For Dummies. This book can be purchased at a local book store such as Chapters or online at websites like Amazon or eBay.
A .vb6 file is visual basic 6 source code, sometimes with it are .frm files that you would need. A .dmg is a Macintosh binary. you would have to find a program to compile the vb6 code to a Macintosh binary.
vbNewLine
how to create report in php
Please refer the following link, there you can find useful information about differences between VB6 and VB .NET
use vb6
thanks