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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error MessageBox

Hello

I want to make een error messagebox.

whene you select more than 20 people you get a error.

I have already this:

sub DisplayMessage

Answer= MsgBox("test",64,"Welkom")

End Sub

How can i get the erro When there are more then 20 people are select?

1 Solution

Accepted Solutions
Not applicable
Author

Please check the following qvw...

View solution in original post

4 Replies
Not applicable
Author

How about a text box (layer = top) conditioned to show when getpossiblecount(fieldname) > 20?

Regards,

Gordon

Not applicable
Author

Yes you can do that.

But i want a Error Messagebox.

If that is possible.

Not applicable
Author

Hi,

You can do the following to resolve...

create a variable and assign it with

vTest=GetSelectedCount(FieldName)

then crete a macro to be called when selections made...

then goto->Document Properties->Triggers Tab-> Variable Event Triggers

-> add an action to run macro in onchange event

I hope this will help you...

check the qvw file attached...

and reply me

Not applicable
Author

Please check the following qvw...