Solved

Impromptu reports with .NET?

Posted on 2004-03-29
4
439 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with opening combobox using VB.NET. 3 34
Adding items to a C# list incrementally 5 58
ModalPopup  question 22 38
Error building VS2105 solution from repository 1 33
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…

762 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