|
-
Jun 1st, 2006, 02:53 PM
#1
Thread Starter
Lively Member
How can i use crystal report
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
-
Jun 2nd, 2006, 12:39 PM
#2
New Member
Re: How can i use crystal report
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.
-
Jun 2nd, 2006, 05:48 PM
#3
Thread Starter
Lively Member
Re: How can i use crystal report
I M Uusing 8.5
The Purpose Is Report To Print All Customer Record From Access Database.
-
Jun 4th, 2006, 12:49 PM
#4
Addicted Member
Re: How can i use crystal report
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.
VB 6 / VB.NET 2003, 2005 / Crystal Reports 9-12
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|