Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple reports from a web application

Status
Not open for further replies.

srader

Programmer
Mar 1, 2001
2
US
Is there a way to generate a set of reports at one time
without interaction from the user from a web application?
I found code to do this in VB (dim report1 as new crystalreport1/dim multireport as new crviewerlibctl.ReportSourceRouter/MultiReport.AddReport Report1 etc. with multiple reports. I cannot get this to work using VBScript. Also, I would need to automatically
print the report without getting a printer dialogue box
which I haven't been able to resolve either.

Thanks in advance for your help.
 
srader: Where did you get the VB code? Have you confirmed that you have the correct Library to go with the code - I notice it refers to libctl.

You can deliver multiple reports over the Web but it will require some careful coding to cover such issues as page size changes etc. It is also possible to set printer output parameters in code without the dialog box - see PrinterInfo in Developer help David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
The code came from support.seagatesoftware.com/library/kbase/articles/c2004679.asp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top