Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
AbhijitBansode
Specialist
Specialist

Inbuilt macro not working

I'm trying to open another Qlikview application on selection of data value from a field.

I have given this action in field event triggers for that field.

But it is not working.

The same works when i tried applying the action on button click.

Any reason why its not working on "On Select" of field?

3 Replies
Not applicable

hmm weird...:/

try to use macro (on select) instead of builtin trigger open file

SUB MacroOnSelect

set newone = CreateObject("QlikTech.QlikView")

newone.OpenDoc "C:\Documents and Settings\BOMI\Pulpit\minmax.qvw"

END SUB

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Are you using Plugin or Ajax?

Can you give us the macro code you are using?

Running Ajax this will try to open minmax.qvw on the server:

newone.OpenDoc "C:\Documents and Settings\BOMI\Pulpit\minmax.qvw"

AbhijitBansode
Specialist
Specialist
Author

m using desktop version.

well I have found workaround for this.

applied buitin trigger of "Open Qlikview Documnt" on button.

and Pressed this button on "OnSelect" event of the field.

Sub PressBtn

ActiveDocument.GetSheetObject("PressBtn").Press

end sub

and this worked for me.

thank u for your time guys.

But still don't know why this not work on field event triggers.

Regards,

Sparten B