Results 1 to 8 of 8

Thread: [RESOLVED] Creating Multiple Report Files in CR8 or CR10

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Posts
    325

    Resolved [RESOLVED] Creating Multiple Report Files in CR8 or CR10

    I am not sure I can even ask the question correctly; but, here goes. I presently inherited a billing system that creates customer statements at the end of the month. Apparently, it creates one big file and then when the report is printed, all the statements are printed. What I need to do is print out one statement (report) for a certain customer, giving it a unique name which I will specify, then call up the next customer, print their statement and give it a unique name, and so on. Can this be done?

  2. #2
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Creating Multiple Report Files in CR8 or CR10

    Sounds like you need to alter the preprocessing to only pull individual customers before you initiate the printing of the report then loop through each and stop to allow you to enter a filename.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Posts
    325

    Re: Creating Multiple Report Files in CR8 or CR10

    Yes, I know; but can Crystal do that?

  4. #4
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Creating Multiple Report Files in CR8 or CR10

    No, it's done before you hit the "Print Crystal code". If you are passing a recordset to the report, you would just select the proper information from the database and pass it. If you are passing parameters then just pass the parameter of the customer name each time from within a loop.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Posts
    325

    Re: Creating Multiple Report Files in CR8 or CR10

    I have some questions:

    1. Is there a way to produce a Crystal Report with previewing it or printing it immediately?

    2. Can I vary the name of the report each time I go through the loop?

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Posts
    325

    Re: Creating Multiple Report Files in CR8 or CR10

    I have some questions:

    1. Is there a way to produce a Crystal Report WITHOUT Previewing it. I am going to output the report to a "printer" that is actually going to create a pdf doc.
    2. Can I vary the name of the report each time I go through the loop?

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2008
    Posts
    325

    Re: Creating Multiple Report Files in CR8 or CR10

    I just re-read your previous post. I need to assign a report name to each customer automatically.

  8. #8
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Creating Multiple Report Files in CR8 or CR10

    Have a look at .exportoptions object. I've never used it myself.

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