|
-
Aug 16th, 2008, 08:19 PM
#1
Thread Starter
Hyperactive Member
[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?
-
Aug 16th, 2008, 09:27 PM
#2
Hyperactive Member
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.
-
Aug 16th, 2008, 10:25 PM
#3
Thread Starter
Hyperactive Member
Re: Creating Multiple Report Files in CR8 or CR10
Yes, I know; but can Crystal do that?
-
Aug 16th, 2008, 11:20 PM
#4
Hyperactive Member
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.
-
Aug 17th, 2008, 06:02 AM
#5
Thread Starter
Hyperactive Member
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?
-
Aug 17th, 2008, 03:50 PM
#6
Thread Starter
Hyperactive Member
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?
-
Aug 17th, 2008, 04:33 PM
#7
Thread Starter
Hyperactive Member
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.
-
Aug 18th, 2008, 08:22 PM
#8
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|