Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
If a user is in a document and has not made a button click or selection or . . . . we want QlikView to close the document.
Can this be done and how would I do this?
Thanks,
Stephen
Are you keeping this time somewhere in the variable? How long you want to wait and check if user has not clicked on anything.
This can easily be done with combining coupld of macros to record when the document was opened and if any selection status has changed, and then finally calling macro to close the application.
Sub CloseApp
set myDoc = ActiveDocument
myDoc.CloseDoc
End Sub
Hope this helps.
How do I capture if any selection status has changes or do I have to put a macro on each selection box to capture a change?
I thought the jumping point was to close the document when NO selection or whatsoever was made, or did I miss something?
Rgds,
Joachim
Sorry, should explain better. If a user has not "clicked" on something for 30 minutes.
Well, I'm afraid there's nothing to achieve with a OnSelect or OnChange or OnXXXX -trigger, because these require an event; but you need a trigger for a NON-event, so to say; that would actually be something for a timer. But when opened in server (or via IE-plugin), I think there should be something like a timeout option - I can't check it right now.
Rgds,
Joachim