Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

Post Author: markeyjd2
CA Forum: Exporting
Greetings forum members,
My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
Is this possible?

Post Author: Micha
CA Forum: Exporting
Hi,
you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
Here's an abstract of the ASP code I use:
First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
  oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
Micha

Similar Messages

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • In iPhoto 11 imported tiff files remain tiff after editing.  I need to convert to large file jpegs. How? using the "export" function they become too small

    I thought imported tiff files would be converted by iPhoto to JPEGS in previous versions of iPhoto.  this might have been a disadvantage but my current project requires JPEGs as the final product.
    thanks for any guidance
    Jim

    Drag the photo from the iPhoto window to the desktop or export as kind = JPEG
    As to too small - what is too small?  The pixel dimensions of the exported JPEG will be identical to the original TIFF - the file size is smaller because JPEGs are compressed - which of course reduces file size - which of course is the reason that JPEG exists
    LN

  • Why do I get an error message saying FILE FAILED TO BE CONVERTED USING ADOBE EXPORT PDF ONLINE?

    Can I find some help about why my Adobe online service suddenly start giving me an error message that says FILE FAILED TO BE CONVERTED USING ADOBE EXPORT PDF ONLINE?

    Are you trying to convert through Adobe Reader (what version?), or directly at the https://cloud.acrobat.com/exportpdf website?
    [topic moved to Acrobat.com Services forum]

  • Using reports to "just" create a pdf file

    Hi All,
    I'm using oracle aplication server 10g.
    I have a situation where i must send several emails into my clients. I want to use the reports server to create several pdf files attached into a "pretty" mail message.
    In the end the user will get a full report in a "pretty" html message with several pdf files.
    I have already done a very flexibal pl/sql procedure that can send emails into any mail server and using any amount of attach files.
    I have already done the reports and i can call them find from the find from oracle forms creating a pdf file.
    My problem is that i can't stop the oracle from calling the browser and showing the report on the user screen. I simple want to generate the reports... create a html email message attach the reports (pdf) and send them into the user
    Using the build in email support in oracle reports is out of the question because it's a bit limited.
    Any help would be great.

    Hi,
    Thanks a lot for your reply.
    But i do not want to use reports to send the email, i just want him to generate a pdf file and NOT OPENING the pdf file on the user browser, having that i will use my own pl/sql procedure to send the email with the pdf file attached.
    I need this because because reports is a bit limit in the email respect, and with a build in email procedure i can do a lot more things (mail queues, elaborate messages, mail store etc)
    PS: i'm using the rp2rro.rp2rro_run_product package to run the reports
    Miguel Angelo
    Message was edited by:
    [email protected]

  • Using the Export to PDF online service, I get "Conversion Failure" error message; why?

    Using the Export to PDF online service, I get "Conversion Failure" error message; why?
    The documen t was originally created with Word (*.doc) then printed to PDF format; now I need to convert back to Work, but I get the "Conversion Failure" error message, both on conversion back to *.Doc format and attempt to convert to *.docx format.

    Hi lfordlaw,
    How large is the PDF that you're trying to convert? How did you generate the PDF from Word (did you use Acrobat, or Word's built-in PDF generator)? What version of Word are you using?
    The answers to those questions should help us get to the bottom of things.
    In the meantime, please try the following:
    Clear the browser cache and log back in to https://cloud.acrobat.com.
    Try a different web browser (see System Requirements | Adobe Acrobat Pro and Online Services for a list of supported browsers).
    Try to convert a different file (if you can convert another file without error, the one you're receiving the error on may be damaged).
    I look forward to hearing back from you.
    Best,
    Sara

  • Rec'd error msg "File failed to be converted using Adobe Export PDF online"

    Rec'd error msg "File failed to be converted using Adobe Export PDF online" when attempting to save a .PDF as a .DOC

    Are you trying to convert through Adobe Reader (what version?), or directly at the https://cloud.acrobat.com/exportpdf website?
    [topic moved to Acrobat.com Services forum]

  • HT4059 I'm trying to organize my PDFs in iBooks on my ipad2 and I can't figure out how to combine multiple PDFs into one. Any thoughts?

    I'm trying to organize my PDFs in iBooks on my ipad2 and can't figure out how to combine multiple PDFs into one. Any thoughts?

    I'm trying to organize my PDFs in iBooks on my ipad2 and can't figure out how to combine multiple PDFs into one. Any thoughts?

  • Have tried to copy ratings over to a new computer using the export playlist function and this fails... can anyone suggest why?

    have tried to copy ratings over to a new computer using the export playlist function and this fails... can anyone suggest why?

    Because ratings don't travel with the files or the playlist.
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    If you have an iOS device that syncs with contact & calendar data on your computer you should migrate this information too. If that isn't possible create a dummy entry of each type in your new profile and iTunes should offer to merge the existing data from the device into the computer, otherwise the danger is that it will wipe the information from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data. If you don't have any Apple devices then see HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store.
    tt2

  • It seems cranky sometimes works, somtimes not.  My other issue - is there a way to create a mail signature using the font I use in Outlook (or can I import that signature)?

    I have a new iPhone 4s - having lots of trouble with Siri.  It seems cranky - sometimes works, somtimes not.  My other issue - is there a way to create a mail signature using the font I use in Outlook (or can I import that signature)?  How can I find fonts availble on my phone?
    Thanks for any help

    Not in Acrobat unless your image is already in the PDF format.
    This is a feature of forms created with LiveCycle Designer.

  • I would like to know how i can save an byte array to a mat file format (matlab file format '*.mat') within to use the matlab API

    So, I search the binary matlab file format('*.mat').

    Title:
    Moving Data Between MATLAB® and LabVIEW
    Problem: 
    How can I share data between LabVIEW and the MATLAB environment?
    Solution: 
    MATLAB users can move data between the
    MATLAB environment and LabVIEW, you have several options. Prior to
    LabVIEW 5.1, the only way to transfer data between these two
    environments was to use the Save and Load functions. Those are discussed herein.
    Beginning
    in LabVIEW 8.0, MathScipt was introduced. MathScript is an integrated
    part of LabVIEW that you can use to combine intuitive graphical
    dataflow programming with math-oriented textual programming. See the
    attached links below for more information on MathScript.
    Beginning
    in LabVIEW 5.1, the MATLAB script node was introduced into the LabVIEW
    programming environment. The MATLAB script node makes ActiveX calls to
    the MATLAB software from within LabVIEW. This requires that both MATLAB
    be installed on the same machine and that a valid license is obtained.
    More information on the MATLAB script node can be found in the attached
    KB's.
    For all versions of LabVIEW, this data transfer can be
    performed by saving the data in a file using the MATLAB software and
    reading it directly from LabVIEW, or vice versa. In the MATLAB
    environment, the command "save" allows you to save the data in
    binary format (*.mat) or ASCII format. You also have an option of
    saving it in ASCII format using a tab delimiter between data points and
    the command "load" allows you to read in the data.
    ASCII Format
    Complete the following steps to import or export data between LabVIEW and the MATLAB environment using an ASCII file format.
    From the MATLAB environment to LabVIEW
    To save a vector or a matrix X in tab-delimited ASCII format, enter the following in the command window or m-script file in the MATLAB environment:
    >>SAVE filename X -ascii -double -tabs
    This creates a file named filename containing data X in tab-delimited ASCII format.
    Import the file into LabVIEW using the Read From Spreadsheet File VI located on the Functions»File I/O palette.
    From LabVIEW to the MATLAB environment
    To export a matrix X from LabVIEW to the MATLAB environment, first save the data in ASCII format in LabVIEW using the Write To Spreadsheet File VI on the Functions » File I/O palette.
    Enter the following in the command window of the MATLAB environment, or in the m-script file:
    >> LOAD filename
    This reads the data into the MATLAB environment.
    Binary Format
    Complete the following steps to import or export data between LabVIEW and the MATLAB environment.
    From the MATLAB environment to LabVIEW
    As mentioned above, LabVIEW does not save multiple variables to one
    data with extra manipulation, and will not be discussed here.
    Therefore, the only way of sending the data from the MATLAB environment
    to LabVIEW without tampering with the MAT binary file structure is
    using the ASCII format. Also, please bear in mind that you need to have
    one file for one variable.
    From LabVIEW to the MATLAB environment
    Because
    the MATLAB software saves data in its own binary format, the "MAT"
    file, binary LabVIEW data must be converted to this format prior to
    transferring the data. The attached examples can be used to save
    LabVIEW data in the MATLAB software format. The convenience of the .MAT
    file format is that more than one variable can be saved in the same
    file. The example shows saving seven variables to .MAT format; the
    example can be modified for any number of variables.
    Once this data is saved from LabVIEW, it can be read into the MATLAB environment, using the following command:
    >>LOAD filename
    The Who
    command can then be used to display all the seven variable names, and
    you can display the content of them by entering the variable names at
    the command prompt as usual.
    MATLAB® is a
    registered trademark of The MathWorks, Inc. Other product and company
    names listed are trademarks and trade names of their respective
    companies.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

  • Error while using the export utility

    Dear all of
    I am getting the following error while using the export utility in the Oracle database 9i
    I have run the catexp.sql and catrm.sql suggested by the experts in this forum. But it did not help me. Kindly help me in solving this issue.
    FOLLOWING ARE THE ERROR ----------------------------
    EXP-00008: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00024: Export views not installed, please notify your DBA
    EXP-00000: Export terminated unsuccessfully
    -----------------------------------------------------------------------------------------------------------------------------------

    Can you go to this discussion please.
    Re: Getting a strange error for Exp
    -aijaz

  • Bridge crashes when I use the export panel (when I try to specify a folder)

    Hi all!
    Every time I use the export option, no matter where I access it from, when I try to specify a folder to move the file to, bridge crashes.
    I can't just use "move" or "copy" to because I want to change the file format as well as move it.
    Has anyone encountered this?
    I already have the bridge 4.05.11 update installed.
    Any solutions would be greatly appreciated!
    Thanks, Karen

    Every time I use the export option, no matter where I access it from, when I try to specify a folder to move the file to, bridge crashes.
    In the export panel at the top right is a small menu icon, if you click on it and from the two options choose manage modules.
    Next to ' select modules to enable' is a small icon of a toothed wheel. Click on it and first choose check for update (probably showing non available but give it a try) and then choose reinstall all modules. Restart Bridge and check if it is working. If still not restart Bridge holding down option key and choose reset preferences and see if that worked for you.
    And there are other ways to save as new file format in new location. Assuming you have Photoshop also active go to the Bridge menu Tools / Photoshop and choose 'image processor, explore the options and set them to your wshes. You can also create an action in Photoshop for this goal and instead of image processor choose Batch and find the action you created

  • How do I add variables to different checkboxes without using the 'Export Value' and then add them together (if checked)?

    Hello,
    I am very new to JavaScript.  I would like to create a checkbox with a numerical value variable activated if the box is checked.  Unfortunately, I cannot use the 'Export Value' because I already need to use it for something else.
    Any help is really appreciated.
    Thanks,
    Robyn

    Brace yourself, here's your solution.
    First of all, the export value of you checkboxes should definitly be the number of hours for the class since you will just add them up further.
    Second, we will use the userName property for our second export value (its the field right under Name and its labeled "tooltip").  You will name the class there.
    Finally, you need to name each checkbox with a number at the end starting with 1 all the way to 190.  This will be used in loops. ("whatever.1", "whatever.2,....."whatever.190")
    In the calculate event of "total hours":
    var sum = 0;  //declaring a variable that will be used in the loop
    for (var i = 1; i <= 190; i++){    //this loop will scan through all your checkboxes
         if (this.getField("whatever."+i).isBoxChecked(0) == true){  //if box is checked....
              sum += Number(this.getField("whatever."+i).value);   //.....add its value to the sum
    event.value = sum;  //display the total
    Now for the course name field, we will use the same pattern in the calculate event
    var courseList = new Array();  //declaring an empty array that will contain the courses
    for (var i = 1; i <= 190; i++){    //this loop will scan through all your checkboxes
         if (this.getField("whatever."+i).isBoxChecked(0) == true){  //if box is checked....
              courseList.push(this.getField("whatever."+i).userName);   //.....add its userName (tooltip) to the array
    event.value = "You are attending these courses:  "+courseList.join(", ")+".";  //display the array by turning it into a string and joining its items with ", "
    You can try it out with just a few checkboxes at first.  Don't forget that the loop mustn't go further than the existing field or you will get an error and the script will stop.  Make sure no error show in the console (ctrl+J).

  • Why my safari browser is not opening pdf files?I'm currently using the lat 2013 macbook pro with os mavericks and all my software is uptodate?

    Why my safari browser is not opening pdf files?I'm currently using the lat 2013 macbook pro with os mavericks and all my software is uptodate? 

    Back up all data.
    If Adobe Reader or Acrobat is installed, there should be a setting in its preferences such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected. Otherwise do as follows.
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present. The same goes for a plugin called "iGetter," and perhaps others — I don't have a complete list.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

Maybe you are looking for

  • Validation on Application Level?

    Hi, is there the possibility to define a validation on application level? Couldn't find anything. I thought about a validation on page 0, but page 0 doesn't allow to create validations... Purpose: I want to validate the Apex_Application.g_fxx arrays.

  • Add link to software in dock

    How do you add a link to your software in the dock?

  • Save file without JFileChooser in specific directory

    hi! can you save a file without opening a JFileChooser dialogue to a specific directory?? the problem I have got is not how to address to the directory but how to save the file.... could someone help me please? thx charly

  • Microsoft word attachment D110a returns system error

    I have a D110a with the eprint feature turned on. When I email the printer with an attached word document my hp center says there is a system error. I can print my document if i copy and paste the text int the body of the email but I lose my formatti

  • Thinkpad Yoga Wlan Probleme mit Wlan im Tablet mode

    hallo, ich habe ein riesen Problem mit meinem Thinkpad Yoga. Habe eine Crucial MX100 eingebaut und Windows 8.1 installiert. Das Problem macht bei mir das Wlan, klappe ich es in den Tabletmode bricht die Verbindung soofort ab. Hebe ich das Display lei