
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Need to press button twice in order for it to work
Hello
I have created many buttons in my QVW all of which are doing a variation of 3 things
-Activate Object
-Set Variable
-Set Variable
When I press the button my variables turn colour as directed, but the Activate Object does not pick up the object until I click again on the button
I want to refrain from the user having to double click in order for everything to work O.K.
Has anyne experienced this before, and if so, how do I get it so the button does what I wnat on the first click
Thanks
Helen
- Tags:
- new_to_qlikview
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Helen,
I just tried, and it works fine for me no matter what the order of action is. I suspect that the change of your variables triggers something else, and it prevents activation of the object. When you nclick the 2nd time, the variables probably do not change, and that secret action is not triggered.
Regards,
Michael

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Helen, what if you move "Activate Object" to the bottom?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Thank you for your suggestion, but unfortunately this did not solve the problem
If you have any further suggestions, that would be great
Thanks
Helen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Helen,
I just tried, and it works fine for me no matter what the order of action is. I suspect that the change of your variables triggers something else, and it prevents activation of the object. When you nclick the 2nd time, the variables probably do not change, and that secret action is not triggered.
Regards,
Michael

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all your help
I have got this working now and you were right there was something cancelling out the actions
All good now
Thanks
Helen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Helen,
I have the same problem and can't work out what's happening - can you remember what you found that sorted it out?
Thanks
Elaine

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Elaine
What I ended up doing is changing the order of the actions.....As one action was cancelling out another
By changing the order of the actions, it worked fine
You may need to try several times and think through what the actual process is doing ebfore it starts working
Thanks
Helen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Helen, I'll have another look.
Elaine
