Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Alert for listbox selection.

Hi,

In my QVW file, having an Listbox. Now i need to place "ALERT BOX" whenever the USER selects the "C". It Should be done everytime when the user selects on it.

Can anyone suggest on this

evaluate.PNG

Thanks in advance.


Regards

Venkat

5 Replies
martin59
Specialist II
Specialist II

Hi,

You have to create a macro with msgbox() function and use triggers like this :

capture.png

Capture2.PNG

Look at the attachement, i make the application.

Hope that helps you

Martin

martin59
Specialist II
Specialist II

Hi,

You have to create a macro with msgbox() function and use triggers like this :

capture.png

Capture2.PNG

Look at the attachement, i make the application.

Hope that helps you

Martin

Not applicable
Author

Hi Martin,

Thanks for reply, i tried its working.

But i need to provide a Alert from "Alert Wizard".

Pls can you explain difference between Msgbox and Alertbox.

Regards

Venkat

Not applicable
Author

Hi,

See if this can help you.

Cheers.

Not applicable
Author

Hi,

Thanks for your reply, its working fine.

Can you pls explain me the steps of macro code in detail. So that would help me to learn easily.

Sub raiseAlert()

set albm = ActiveDocument.GetAlertAndBookmark("AL01")
set alertstatus = ActiveDocument.CheckAlert(albm.Alert, albm.Bookmark)
if alertstatus.Default then
   set act = alertstatus.Action
   ActiveDocument.PerformAlertAction act
else
   msgbox("Alert not fired")
end if


End Sub

Regards

Venkat