Results 1 to 4 of 4

Thread: How can i use crystal report

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    85

    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

  2. #2
    New Member
    Join Date
    Apr 2006
    Posts
    8

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    85

    Re: How can i use crystal report

    I M Uusing 8.5
    The Purpose Is Report To Print All Customer Record From Access Database.

  4. #4
    Addicted Member craigreilly's Avatar
    Join Date
    Jul 2004
    Location
    Scottsdale, AZ
    Posts
    188

    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:
    1. Dim application1 As New CRAXDRT.Application
    2. Dim report As New CRAXDRT.Report
    3. report = application1.OpenReport("reports/reportname.rpt, 1)
    4.  
    5. report.RecordSelectionFormula = "({command.idjobs})= " & projectoprint
    6. report.ExportOptions.FormatType = CRExportFormatType.crEFTPortableDocFormat '**
    7. report.ExportOptions.DestinationType = CRExportDestinationType.crEDTApplication
    8.  
    9. savename = Replace(filename, "rpt", "pdf")
    10. report.ExportOptions.ApplicationFileName = "reports/pdf/savename.pdf"
    11.  
    12.             Try
    13.                 report.Export(False)
    14.                 report = Nothing
    15.             Catch ex As Exception
    16.                 MsgBox(ex.ToString)
    17.             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
  •  



Click Here to Expand Forum to Full Width