Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Vb.Net / Crystal Reports - Generate multiple files from 1 run

Vb.Net / Crystal Reports - Generate multiple files from 1 run

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    directred
    wrote on last edited by
    #1

    Hi, I do not know if this is the correct place to put this question but maybe someone has come acroos this problem. So sorry in advance. Is there a way to generate multiple files from 1 run i.e. via vb.net create a pdf file but the pdf has more than 1 page. I want to create a new file for every page e.g. Page1.PDF, Page2.PDF etc.

    L D 2 Replies Last reply
    0
    • D directred

      Hi, I do not know if this is the correct place to put this question but maybe someone has come acroos this problem. So sorry in advance. Is there a way to generate multiple files from 1 run i.e. via vb.net create a pdf file but the pdf has more than 1 page. I want to create a new file for every page e.g. Page1.PDF, Page2.PDF etc.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      directred wrote:

      Is there a way to generate multiple files from 1 run i.e. via vb.net create a pdf file but the pdf has more than 1 page.

      What do you consider a "run"? Yes, you can generate multiple documents with multiple pages from a single method. If it's lots of pages than it might take a while. What library are you going to use to write the PDF-files? --Crystal Reports of course, that's what the question was about, and that also explains why you're worrying about the limits :) This[^] thread seems to suggest that CR only generates a single PDF from a single report. You could try that in a loop, but that might become a bit slow. A colleague suggested that it might be handier to generate a large report and to split that into multiple PDF's. There's a number of tools that could help there, like this[^] one.

      I are Troll :suss:

      1 Reply Last reply
      0
      • D directred

        Hi, I do not know if this is the correct place to put this question but maybe someone has come acroos this problem. So sorry in advance. Is there a way to generate multiple files from 1 run i.e. via vb.net create a pdf file but the pdf has more than 1 page. I want to create a new file for every page e.g. Page1.PDF, Page2.PDF etc.

        D Offline
        D Offline
        David Mujica
        wrote on last edited by
        #3

        Hmm ... Interesting problem. How about using the ReportDocument.PrintToPrinter option where you could pass the starting and ending page number ? If you need to create PDFs, you could find one of those PDF print drivers and install it on your computer and print to that print driver. I've used http://www.pdf995.com/[^] in the past and it enables any program to generate PDFs. My 2 cents. :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups