Dear Dave,
I discovered that since the dialog boxes are interactive in cognos script, even if i have the function obj.activate right after the call to the dialog box, it will not excute until the user interacts ( that is clicks some button on the dialog box), THat is the reason why obj.activate...
Hi Christenhusz
Thanks a lot for the advice. Now i understand why the user version was behaving differently from the impromptu version. I will implement your suggestion right away.
Thanks
Amina
I have developed a number of dialog boxes with buttons which when clicked, open reports.
Using the administrator version of Impromtu, I am able to open the .imr reports however, when using the macro with the USER version of impromtu, I are not able to open the reports. IT gives me an error...
Hi Doovat,
Thanks for this useful information. But the only problem is that i cannot put in the path name before the nameof the catalog as i do not know where the users will place there reports and catalogs. The macro will be distributed to various offices which might have different drives for...
Hi,
I gave created a number of dialog boxes. The buttons lead to various reports. In impromptu, i have set the preferences for file locations to where my files are. If i directly open the report without first opening the catalog with the "object.openreport " command, i am able to open...
DearDave,
I have tried putting it in a loop and then placing the objImpApp.Activate method at various different places but for some reason the activate method does not work ( not that it gives an error. I am still working on this issue, will let you know how i progressed.
Thanks a lot for your...
I have created a number of dialog boxes. The buttons in the dialog boxes open up .imr reports. Once the button is clicked the dlg box dissapears and the reports opens. Then i call the dlg box again so that the user may choose some other report. However, the dlg box comes on top of the report as...
Iam creating a number of dialog boxes. The buttons in the dialog box open up the powerplay reports (ppr). I will be distributing this macro to various offices. Users will be placing the ppr and the mdc files in various locations. Since powerplay does not have an ini file i cannot define a...
Brillaint Dave! that was very helpful.
Just one more question, How do i know the user closed the help screen so that i can re-execute the main dialog when the user closes the help dialog.
Thanks
Amina
I have created a dialog box. Once a button ( other than "OK" and "cancel") on the dialog box is clicked, the dialog box closes. What do i do if i want ot keep the dialog box open even after the button is clicked. My code is given below:
sub showdlg1()
Begin Dialog...
Thanks Scott. I changed the code to include your suggestion. It compiles fine. When i run it , i get the following error:
TEMP6!main(4) - R440 "PowerPlay: An internal error occurred."
I am not really sure what it means
Thanks again
Amina
I am creating a dialog box and want a powerplay report to open up when the user clicks the button. Could someone please tell me what code i use to open the powerplay report. I have my code below, but it is not working.
Thanks
Amina
Dim objPPRep as Object
Set objPPRep =...
I am writing a macro (in cognos scritp) with a number of dialog boxes. I will be distributing this macro to many offices. I want to insert a picture in the dialog box. I am not sure what path to put in the script when specifiying where the picture is. I will send the picture with the macro but i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.