Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, how can i connect a button action with a script routine?
Thanks
Marco
I need to connect the button with a script routine not with a vb macro.
Thanks
Marco
what type of script are you talking about?
The Action would be External but there is no call for script - waht is it you are trying to accomplish?
The script developed in the script editor.
Thanks
Marco
Script routines can only be called by the main script (the one without SUB...END SUB). And the main script can only be started by a Reload button press or a Reload action or the QDS (i.e. in full)
To be more precise: in contrast with Macro's, script routines do not exist until parsed by the script engine. That's why you have to put their definition before the first CALL, as the script engine will define them only upon encountering the SUB control statement.
In addition to this, the QlikView engine forgets about all script routines when script execution finishes. Otherwise you would not be able to execute a script twice in a row...
Best,
Peter
Marco
as you can see from the responses by Peter, it does not appear that can be done
what part of the script are you trying to access after the application has been loaded?
Can you explain why do you want to do it, may be the actual business need can be served by different ways, may be our experts here can suggest better ways even
I need to do a computation based on input fields content.
Thanks
Marco