Results 1 to 6 of 6

Thread: emailing a (view of a) crystal report

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    113

    emailing a (view of a) crystal report

    Hi all,
    I have a web (asp) system which generates many crystal reports. One of these crystal reports is a form which is used to submit claims. We need to e-mail this form to various organisations.

    Obviously we cant just email the crystal report as an attachement. Any ideas of the best way I could go about in emailing the reports with their data and format in a file format that is accessible by the masses?

    Thanks
    You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    Exported to PDF is quite versatile.


    Things I do when I am bored: DotNetable

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    113
    you mean you can export a crystal report to PDF? Do you need an adobe writer for this?
    You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!

  4. #4
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    no, the object to export the report comes complete with crystal

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    113
    There seems to be some disagreement over whether Crystal Reports 8 can do this.
    You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!

  6. #6
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    This is for CR 8.5

    With you report open
    File->Print->Export
    In the format dropdown select Acrobat format (PDF)
    In the destination dropdown save it to disk.
    You will be prompted for a location.

    Now if the exporting needs to be done at run time, dynamically.
    This is a VB example.

    Private sub cmdExportPDF_Click()
    dim ex as cRAXDRT.ExportOptions

    set ex = CrystalReport1.ExportOptions

    ex.DestinationType = crEDTDiskFile
    ex.DiskFileName = "c:\aExport.pdf"
    ex.FormatType = crEFTPortableDocForomat
    ex.PDFExportAllPages = true
    CrystalReport1.Export (false)
    Exit Sub

    Sorry I don't have an ASP example, hope this helps.


    Things I do when I am bored: DotNetable

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