|
-
Nov 8th, 2005, 01:40 PM
#1
Thread Starter
New Member
Crystal Rpts .NET Document Name in Spool
Hey all. Thanks for the help in advance.
I've got a method that initializes, popluates, and prints several Crystal reports directly to the printer. This is all working fine and dandy. However, in the printspool and on the popup notification window in the corner, each report has the same name, "document". Each report is a seperate rpt file. Here's just a quick example
VB Code:
Dim rpt1 as New CrystalReport1
rpt1.SetDataSource(dsRptData)
rpt1.PrintToPrinter(1, True, 0, 0)
Dim rpt2 as New CrystalReport2
rpt2.SetDataSource(dsRptData)
rpt2.PrintToPrinter(1, True, 0, 0)
Again, this works. But both reports show the document name of "document" on the print spool. My method can print up to 20 reports, so I want the user to be able to determine where in the process they are.
Does anyone know where to set that. I've tried rpt.Name and rpt.SourceInfo.ReportTitle. I can't find where else it would be. Anyone have a clue?
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
|