Solved

Impromptu reports with .NET?

Posted on 2004-03-29
4
435 Views
Last Modified: 2012-06-21
Hi Yall,
I have an .NET application which passes user selected parameters into a Crystal Report using a link. The report is brought up in a PDF within the browser window. The application uses an Oracle db.
Would it possible to call an impromptu report in this same way? I'm most interested in just being able to pass impromptu paramenters thru a link, not so much how it comes up after that. Any suggestions
Thanks
0
Comment
Question by:MiddletownRI
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:iboutchkine
ID: 10713517
Are you reffereing to the Cognos Impromptu report?
0
 

Author Comment

by:MiddletownRI
ID: 10713946
Yes Im wondering if Cognos Impromptu web reports (IWR) or Report Net can do what I need. I need to be able to pass from vb.net dynamically selected parameters to the report, maybe thru a link.
0
 
LVL 28

Accepted Solution

by:
iboutchkine earned 500 total points
ID: 10714016
I did it with script. You can generate script from VB with parameters and then call impromptu report

Here si an example of a script

'IMR Reports
'Balance Sheet 2_2_8.imr
CatalogLocation = "F:\CognosApps\AR ATB\Catalog\ATB Reporting.CAT"
FileName = "F:\CognosApps\AR ATB\reports\Balance Sheet  2_2_8.imr"
Set ImpAppObject = CreateObject("Impromptu.Application")
ImpAppObject.OpenCatalog CatalogLocation, "Creator", "UserName", "UserPwd"
ImpAppObject.Visible 1
set ImpRepObject = ImpAppObject.Openreport (FileName)
'Print the report (FromPage, ToPage, Copies)
ImpRepObject.Print ,,1
ImpRepObject.CloseReport
ImpAppObject.Quit

write the txt file with a script. Include your params there and save this file as .vbs file

THen execute the vbs file (System.Diagnostic.....)
0
 

Author Comment

by:MiddletownRI
ID: 10718467
Thank you I think this will work for me:-}
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now