Exporting to multiple PDF's from one report

I have a requirement to create multiple PDF's from one report.
My thought is that I can I can create a foreach loop that cycles through one of my groups.  I would then like to have each file have the name of that group. 
If anyone could help me on how to code this in C# that would be great.  I need to know where I should be putting this code (program.cs or crystalreport.cs) and how I run it.  I am assuming I don't need the viewer for this function, since this is all on my end and no users need to have access to it. 
My other requirement is to have each of these reports be put into their own folders at C:\.  Thanks for the help in advance!

OK. Yup, you should be able to do this. When I was reading the initial post it looked like you might have ben wanting to export only a certain section of a report (which is a no go).
Anyhow, first thing you want to do is apply Service pack 3:
https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
Next, you want to look at a few sample apps and go over some docs. What you want to achieve can be done by using parameters or selection formulas.
A good coding resources is the [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]. Don't worry about the title, it will apply to CR 2008 also.
Next, sample apps can be downloaded from here:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
[CR 2008 developer library|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm]
[API reference|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
Not sure if you are thinking of this being a web app, but here are some resources for that:
[Interactivity and Reports in Web Applications|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427&overridelayout=true]
Before starting your project, you should have a look at [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7] to make sure you are using the right SDK for your purposes.
Finally, the following are links to 3rd party resources and I'm adding htese just as an FYI:
http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx
http://msdn.microsoft.com/en-us/magazine/cc301570.aspx
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • How to generate multiple output pdf's from one oracle reports

    how to generate multiple output pdf's from one oracle reports.
    I have a report where I have to generate more than one output files from the same report based on a parameter.
    Each output file is for each parameter.
    Is this possible in oracle reports, is so how ?

    You can better post your question in the reports forum instead of this pl/sql forum.

  • Is there a way to send multiple pdf's in one email from iBooks?  I have several that I've saved that I need to send to one person. If it can't be done directly, is there a work around?

    Is there a way to send multiple PDF documents from iBooks in one email?  I have several that need to be sent to one person and can't figure out how to send more than one at a time. If you can't, is there a workaround?

    Warehouse that PDF on your own server, then link to it from your book.
    Ken

  • I have a paid subscription, but am no longer able to merger multiple pdf documents into one pdf. What's up?

    I have a paid subscription, but am no longer able to merger multiple pdf documents into one pdf. What's up?

    Pat:
    Below is a copy of an 8/7/2013 email from adobe. I prepaid a one-year subscription, and, until I recently upgraded to Windows 8, I was able to make several dozens of merged pdf documents. I seem to be no longer able to use the merge feature that I had successfully and repeated used. When I search for the merge feature I end up with a request that I pay for an upgrade monthly subscription to use the merge feature.
    Tom
    =================================here follows my subscription email====================================================
    Welcome to Adobe ExportPDF
    2 messages
    [email protected] <[email protected]>
    Wed, Aug 7, 2013 at 1:01 PM
    Reply-To: [email protected]
    To: [email protected]
    Dear Thomas Corr,
    Thank you for purchasing a subscription for Adobe ExportPDF.
    Sign-in to export a PDF Now >>
    With your subscription you can:
    Enjoy unlimited online conversions from PDF to Word (DOCX).
    Make scanned text editable.
    Maintain page, paragraph, and font attributes.
    Preserve tables, images, and multi-column text.
    Export PDF comments to Word.
    Help and feedback
    Get help from Adobe on the Support Center.
    The Adobe ExportPDF Team

  • How do I: put multiple PDF pictures into one PDF page?

    I have just installed Adobe Acrobat Pro Ver 9 - so this apllication and its associated SDK are the only applications available to me for use.
    Adobe Acrobat was chosen because of its AutoCAD capabilities (when AutoCAD is not present). i.e.  Using Acrobat & AutoCAD's plot configuration files & Pen / colour selection table ensures the output has correct line thicknesses (sometimes colours in CAD are used to represent a line's thickness) - this is preserved when using Acrobat.
    The generated output is fantastic. However, when I try to print the output via Excel / Word (used for layout) - my perfect output is reduced to imperfect results.
    So: is it possible to layout multiple PDF pictures inside one PDF entity for printing purposes such that the original output is not distorted?
    I have in the past put pages in front or behind other pages but cannot find any references or code that works with Pro 9 nor indeed the manual way to insert PDF pages at any location on a single PDF Page?
    I'll try and explain.  My template coud consist of 6 boxes on a single A4 page thus:
    My base PDF Page (can be thought of as a template - ideally it wont be printed - but even if it is - it wont be printed on any media material) has 6 areas (any number of areas up to 100) on it.  In each area, there is a box.  It is within these boxes that I wish to place a PDF Picture.  Not all pictures will be the same.  How can I do that?  Ideally I'd like some example C# code - though doing it as a user will suffice, for now.
    Is there a way of programmatically selecting each of the above boxes on the base PDF Document?
    I do know of one manual method (though it seems long winded) and it is not accurate enough in that (even though the layers are deselected) - the hidden layers are subsequently outputed too - not good!
    Uses a button icon over each box.
    All the current Adobe help for the SDK refers to Pro 8 and previously - which all seems to have now been replaced in Pro 9
    This question will be placed in the Developer & User Forums - as it pertains to both.
    Thankyou in advance for anyone that either knows any workarounds or any ways to affect a solution. 

    Picture of what I want to see:
    What I get, and don't want to see is:
    The PDF was generated using Adobe Acrobat Pro 9 from an AutoCAD LT (DWG) file without AutoCAD being present but making use of a plot configuration (PC3) file & pen table (CTB) file.  The resultant file [WhatIWantToSee.pdf] is perfect - all the lines are the right thickness & colour and are perfect vectors (with no construction / proofing layers visible).  When you view that file in Acrobat and show the "Layers" property box, you see that the correct number of layers whilst are still present are indeed turned off.
    However, when I add a forms-button to one of the rectangles (please refer to initial post - where there are 6 rectangles), and display same file as icon display.  The resultant view is the one shown above named [ What I get and don't want to see].  It seems the saved layer settings are all ignored?
    I generated the PDF file through Adobe Acrobat Pro 9  Menu | File | Create PDF | From File (Files of type Autodesk) | Options | Selected Layers | Layout | Last Active Layout.
    Rectangles are regular content elements - not fields (in the general meaning of form-fields).

  • Open Multiple PDF files from Production order/Routing

    Hi Everyone
    We are in ECC 6.0 environment. We have a scenario where multiple documents were attached to single operation and also at multiple operations. But when I was trying to open these PDF documents, only the last file was getting opened and closing the previous file. How can I open multiple PDF files at one time from Production order or Routing?
    Any help is appreciated.
    Regards
    Prasad

    Hi Prasad,
    from DMS standard I regret but such a functionality is not available. In the standard originals can be opened only one after another.
    I think for realising this functionality an individual modificatoin is necessary.
    Best regards,
    Christoph

  • How i can combine multiple pdf files in one file using a macbook air

    how i can combine multiple pdf files in one file

    The application Preview.
    Preview Help.
    Save combined PDFs
    Open the PDFs you want to combine.
    In each open PDF, choose View > Thumbnails to display the pages of the PDF in the sidebar.
    Drag the thumbnails you want to add (Command-click to select noncontiguous pages) to the thumbnail sidebar in the other PDF.You can add pages to the end of the document or between pages in a document. Drag thumbnails to reorder them. You can also add a PDF file before or after another PDF document.
    Choose File > Export to save a new PDF containing all of the combined pages, or choose File > Save to replace the original version of the destination PDF with the version containing the combined pages.

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • Unable to pass the values from one report to another using navigation links

    Hi All,
    I am facing a strange issue where I have to pass a column value from one report to other.
    I have kept navigation link in the 1st report and 'is prompted' option in the 2nd report
    Issue was , I'm not getting the filtered result in the 2nd report (all the records are being displayed)
    Can anyone advice where I was going wrong
    Thank you,
    AO

    Hi,
    The column which you have given navigation link and 'is prompted' column should same and exist in both the reports.You have to give the guided navigation in the value interaction of the column in the report1.
    mark if helpful/correct.........
    thanks,
    prasanna

  • I cannot open pdf files from one supplier when using Adobe Reader but I can using another Viewer

    I cannot open pdf files from one supplier when using Adobe Reader but I can open it if using Google PDF viewer or another viewer. The Adobe reader gives the error "There was an error opening this document. The file is damaged and could not be repaired" when I try to open the file. The version of Adobe Reader is 10.1.7, however I have tried other versions and they all fail the same way.  I have tested on a number of different PC's in different networks and all fail using Adobe Reader but work using alternate viewer. Also the PC's will open a PDF from any other source.

    Newer Reader versions are more strict than older versions (and other PDF viewers).  If certain minimum requirements are not met, Reader will tell you that the PDF is damaged.  This can happen when a document was created with software that does not adhere to PDF standards, or when the file was damaged during a download or email transmission.
    You should contact the creator of these PDFs.

  • How can I print PDF attachments from ABAP report in transaction ME23N?

    Hi,
    Users attach PDF files using "services for objects" in transaction ME23N.
    How can I print the PDF attachments from ABAP report ?
    Thanks in advance,,

    Hi,
      check this link,this might help you to solve your problem
    /people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
    Regards
    Kiran Sure

  • Creating a PDF-File from a report within a service

    Hello,
    I have to create PDF-Files from a report within a windows service.
    My source is as follows (quick and dirty) using Microsoft Report Viewer 2012
    Imports Microsoft.Reporting.WinForms
    Dim reportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer()
    Dim objRDLC As New Microsoft.Reporting.WinForms.LocalReport()
    reportViewer1.LocalReport.ReportEmbeddedResource = "MyApplication.MyReport.rdlc"
    Dim deviceInfo As String = "<DeviceInfo>" & _
    "<OutputFormat>PDF</OutputFormat>" & _
    "<PageWidth>21cm</PageWidth>" & _
    "<PageHeight>29.7cm</PageHeight>" & _
    "<MarginTop>0.7cm</MarginTop>" & _
    "<MarginLeft>0.7cm</MarginLeft>" & _
    "<MarginRight>0cm</MarginRight>" & _
    "<MarginBottom>0cm</MarginBottom>" & _
    "</DeviceInfo>"
    objRDLC.DataSources.Clear()
    'Fill Report with data
    reportViewer1.LocalReport.DataSources.Clear()
    reportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsInfo", dt))
    reportViewer1.RefreshReport()
    'Output Report as File
    Dim byteViewer As Byte() = reportViewer1.LocalReport.Render("PDF", deviceInfo)
    Dim newFile As New FileStream("MyFileName", FileMode.Create)
    newFile.Write(byteViewer, 0, byteViewer.Length)
    newFile.Close()
    'Clean up
    newFile.Dispose()
    objRDLC.DataSources.Clear()
    objRDLC.Dispose()
    reportViewer1.Dispose()
    In most cases everything works fine.
    But the service crashes after some/many reports (e.g. after 270 reports or after 1.400 reports). There is no fix number of reports that causes the service to crash.
    The service crashes with the following error:
    System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
       bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
       bei System.Windows.Forms.Control.CreateHandle()
       bei System.Windows.Forms.Control.get_Handle()
       bei System.Windows.Forms.Control.PointToScreen(Point p)
       bei System.Windows.Forms.ToolStripItem.TranslatePoint(Point fromPoint, ToolStripPointType fromPointType, ToolStripPointType toPointType)
       bei System.Windows.Forms.ToolStripDropDownItem.DropDownDirectionToDropDownBounds(ToolStripDropDownDirection dropDownDirection, Rectangle dropDownBounds)
       bei System.Windows.Forms.ToolStripDropDownItem.GetDropDownBounds(ToolStripDropDownDirection dropDownDirection)
       bei System.Windows.Forms.ToolStripDropDownItem.get_DropDownLocation()
       bei System.Windows.Forms.ToolStripDropDown.GetDropDownBounds(Rectangle suggestedBounds)
       bei System.Windows.Forms.ToolStripDropDown.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.set_Size(Size value)
       bei System.Windows.Forms.ToolStripDropDown.AdjustSize()
       bei System.Windows.Forms.ToolStripOverflow.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.ResumeLayout()
       bei System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
       bei System.Windows.Forms.ToolStripControlHost.OnBoundsChanged()
       bei System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       bei System.Windows.Forms.ToolStripItem.set_Width(Int32 value)
       bei Microsoft.Reporting.WinForms.ReportToolBar..ctor()
       bei Microsoft.Reporting.WinForms.ReportViewer.InitializeComponent()
       bei Microsoft.Reporting.WinForms.ReportViewer..ctor()
       bei DC5Warteschlange.clsReportTools.Druck(DataTable dt, String Reportname, String ReportDataset, String Drucker, String Format, String Datei)
       bei DC5Warteschlange.clsInfoQueue.Snotiz(String[] CallIDs, String Speicherort)
       bei DC5Warteschlange.Imail.InformationMailSenden(Int32 AID, DataTable& tmpDT)
    Thank you very much....
    Gernot

    Unfortunately, it is not a piece of code that I can send. The SQL would be embedded inside Oracle Reports tool, and you would have the option to save the output of the report in PDF format.
    Once you have the Oracle Report developed, you can execute it from command line prompt and save the output to a pdf file. In your case, the cursor would be embedded inside Oracle Report
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Generate PDF file from a report using greek characters

    Dear all,
    I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
    Any ideas, suggestions and workarounds are welcome.
    Thanx a lot!

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

  • Preview; How can I open multiple PDF's in one window with Preview?

    How can I open multiple PDF's in one window with Preview?
    I have gone to Previews preferences and selected 'Open groups of images in the same window' and have tried every setting imaginable and nothing works. What am I doing wrong?

    Hi, a few ways..
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.macosxhints.com/article.php?story=20060327192826493&lsrc=osxh

  • Hello Apple community... I am trying to combine multiple pdf's into one, using preview, but when I drag the additional pages they show up as separate documents.

    I am trying to combine multiple pdf's into one, using preview, but when I drag the additional pages they show up as separate documents.  When I drag the doc in a line would show up in the past, and if I went above th eline all was good.  It doesn't have a line, and no matter what I try I am having no success.
    Please help!

    According to an Apple Support article, unless there are unforeseen issues
    in file ownership or permissions, the combining of .PDFs should be simple.
    •OS X: Combining PDF documents using Preview - Apple Support
    There are a few variable and similar methods, some change with version
    of OS X in use; some vintage OS X may vary a little in the process...
    A variety of similar topics appear in search results, with terms:
    " mac os x combine pdf into one " such as this page shows...
    https://www.google.com/?gws_rd=ssl#q=mac%20os%20x%20combine%20pdf%20into%20one
    If the system is older than Mavericks there may be other methods to try.
    Suggestions are among linked results in the search. I see a few fair ones.
    •Here's another that offers generally similar suggestions...*  this info looks OK, extra links, do not:
    http://osxdaily.com/2014/06/27/how-to-join-multiple-pdf-files-into-a-single-pdf- document-in-mac-os-x/
    { note: avoid clicking on links to products in * this ^ page, since they likely will not help & may be adware prone }
    If you have a problem after trying other methods, based on an OS X
    your computer is running, post back with more exact information...
    Good luck & happy computing!
    edited

Maybe you are looking for

  • Grouping in rtf template like oracle reports - a newbie question

    Hello all I am new to BI Publisher and have probablly a silly question to ask. I have a basic query that returns a flat xml file which looks something like this. it will have multiple rows. <ROWSET> <ROW num="1"> <DATE>01-DEC-2007</DATE> <PACKAGE>XXX

  • How database connection pooling works in a application

    Hi Guys, I am new to Java and looking into best way of doing J2ee database conectivity. I am using Eclipse galileo3.5 J2EE with Mysql database and Tomcate 6.0. I am developing an email application where I need to implement MVC model for my webapplica

  • .pdf from MS Publisher - links not working

    Hello! I have converted a MS Publisher document to a .pdf document.  When I completed the conversion (using the .pdf menu bar option in Publisher), the .pdf should retain the hyperlinks.  However it doesn't. The hyperlink is attached to a picture - d

  • For people who wants to use java with version of palmos before 3.5.

    The new version of kjava for palmos (MIDP) you can found on java.sun.com only works if you use a version fo palmos greater than 3.5. If not you need to use the presious virtual machine kvm and KvmUtil. You need the two following files :           j2m

  • Using iweb to create a webpage but wrong fonts are displayed

    Hi, I am trying to create a front page for the followoing site using iweb '09. Whenever i publish the site the font that appears is totally incorrect. However when I view the site on my imac, it looks as it should do. I've seen numerous threads on th