+ Reply to Thread
Results 1 to 2 of 2

Thread: Exporting to PDF

  1. #1
    kryotek is offline x10Hosting Member kryotek is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    5

    Exporting to PDF

    Houdy Guys,

    I have this situation... :nuts:

    I have a Recordset that has for example 3 records and I'm exporting these into PDF format but thing is that the crystal reports exports each record into a single file.

    What I would like to do is to export all the records into 1 single PDF file.

    This is my code:

    for i = 1 to 3
    With Report
    With .ExportOptions
    .Reset
    .DestinationType = crEDTDiskFile
    .FormatType = crEFTPortableDocFormat
    .DiskFileName = "xpto" & i & ".pdf"
    .PDFExportAllPages = True
    End With
    .Export False
    Unload Me
    End With
    next i

    Thanks in advance

  2. #2
    kkenny's Avatar
    kkenny is offline Lord Of The Keys kkenny is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    I REP THE BAY. (Bay Area, CA, USA)
    Posts
    1,950

    Re: Exporting to PDF

    If it is in a printable program, here's what you do. (Like if you want to print the record, and the record is in Microsoft Word or something of the such)

    Look for a program (most of them are free) that can make PDFs by using a print feature. Usually here's how it works. You install the program and it tells your computer you have this virtual printer. But what really happens is when you tell something to print in the virtual printer, it makes a .pdf file (of course you choose where to save it and sometimes you get options)

    I'm not sure where I got my free pdf file maker, but I can assure you that it is free and easy to find. You don't need Adobe Acrobat Professional to do it.
    kkenny - retired.
    -Became a Moderator/Staff Member on 4/23/08
    -Became Senior Mod on 8/28/08
    -Became Account Manager on 10/18/08
    -Left Staff and X10 in 2009.


+ Reply to Thread

Similar Threads

  1. Exporting a c++ program in MS visual c++
    By Adam01 in forum Programming Help
    Replies: 7
    Last Post: 02-12-2008, 07:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers