- Go to menu tools / Customize. There you can customize the menu and create a button to call a Macro. I don´t know if you can call a ASP page by Macro.
- Or use PowerPrompts.
A PowerPrompts application is a series of HTML pages that lets report consumers customize a
report. This tutorial creates a PowerPrompts application to be used with the samples provided
with Impromptu. You can see in Cognos Documentation.
I'm trying to build a macro library for impromptu but I can't call the module in the external file.
could somebody give me a hint about what I'm doing wrong.
this is the code i'm using for the main macro
declare sub ctrl_pad
BasicLib "D:\Cornelis\Documenten\Impromptu\macros\Opslaanals.mcx" alias "ctrl_pad" (pad as string)
sub main
dim pad as string
pad="c:\test"
call ctrl_pad(pad)
end sub
and this is the corresponding part of the library
option explicit
sub ctrl_pad(pad)
dim tstdir
tstdir= dir (pad,16)
if tstdir="" then
mkdir(pad)
end if
end sub
I've also tried (of course without the Rem)
rem '$Include:'D:\Cornelis\Documenten\Impromptu\Test\test.SBH'
this worked fine for a msgbox but refused to create the folder
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.