Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a print&mail macro which has a long runtime. I would like to be able to trigger a second macro (upon selection in a field) while the print&mail macro is running.
is this possible?
currently both macro's are running fine when you run them seperatly. But the second macro should be triggered when the print&mail macro is making selections in a field while buidling the report. This does not happen... the print&mail macro keeps running and the second macro does not seem to be activated.
also when i build the report by printing manually, then the trigger on selection in field does work.
Your help would be much appreciated.
regards,
Peter
I don't think so. Several macro's running at the same time are a nightmare with regards to making sure the application behaves predictable and that the macro's cannot interfere with each other. Object triggers have been removed from Qlikview for similar reasons.
I agree with Gysbert Wassenaar but couldn't you call your second macro within the first one? I work often with sub-routines and it worked well. If the runtime from macro (too) slow you should rather look to optimize the macro (removing from redundant actions and code) and/or optimize the qvw itself (datamodel, selections, calculations).
- Marcus