hi all
i m new in crystal report.i dont know that how can use crystal report.plzzzz any tell me how can we use crystel report. plzzzzzzz tell me step by step.
thankx in advance
Printable View
hi all
i m new in crystal report.i dont know that how can use crystal report.plzzzz any tell me how can we use crystel report. plzzzzzzz tell me step by step.
thankx in advance
What version of Crystal Report are you using?
What is the purpose of this report?
Do you need to connect to a database, or are you just importing values from your program?
Give us a detailed description, and you'll get a detailed answer.
I M Uusing 8.5
The Purpose Is Report To Print All Customer Record From Access Database.
I export my reports to PDF as we do not want people moving the data into spreadsheets. But, play with the '**' line to see the different exports available.
Be sure to reference Crystal Reports.
VB Code:
Dim application1 As New CRAXDRT.Application Dim report As New CRAXDRT.Report report = application1.OpenReport("reports/reportname.rpt, 1) report.RecordSelectionFormula = "({command.idjobs})= " & projectoprint report.ExportOptions.FormatType = CRExportFormatType.crEFTPortableDocFormat '** report.ExportOptions.DestinationType = CRExportDestinationType.crEDTApplication savename = Replace(filename, "rpt", "pdf") report.ExportOptions.ApplicationFileName = "reports/pdf/savename.pdf" Try report.Export(False) report = Nothing Catch ex As Exception MsgBox(ex.ToString) End Try
As for creating the report, use the wizard build into Crystal Reports.