Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist
Specialist

Is it possible to get a pop up(alert window) on button click in qlikview?

hi,

i want to get a pop up window on button click, is it possible to get it in qlikview?

either using macros or any other method..

can anyone help me?

thanks in advance...

8 Replies
SunilChauhan
Champion
Champion

it s possible through alert wizard

tools->alert or setting-> alerts for older version

you can create conditional alert

Sunil Chauhan
Anonymous
Not applicable

ActiveDocument.ShowPopup "Hi there", 2000

udaya_kumar
Specialist
Specialist
Author

thanks sarathi,

Is it possible to show the expression used for the objects in the alert window?

Anonymous
Not applicable

set the expression in variable then you show in alert

udaya_kumar
Specialist
Specialist
Author

thanks for reply,

how i can show the value of variable in macro code?

Miguel_Angel_Baeyens

Hi

This simple code will show a popup with the content of the variable "vVariable"

Sub ShowVariableValue

     Set var = ActiveDocument.Variables("vVariable")

     Msgbox(var.GetContent.String)

End Sub

Hope that helps.

Miguel

udaya_kumar
Specialist
Specialist
Author

hi Miguel,

thanks for the help,

i have one more question,

is it possible to write macros for straight table?

i want to show each cells expression in the alert window, if the user clicks on any cell in the table.

Is it possible to do that?

Miguel_Angel_Baeyens

Hi,

That's not possible. You can create an alert that shows a pop up using the same expression you are already using in a chart, but you cannot display one cell value in the chart.

Well, you can, but it will require a lof of macro code that will not work depending on the client you are using.

Anyway, any objects in QlikView work as a whole, you cannot trigger different actions depending on the cell you are click. QlikView uses the object ID that can be checked in the object Properties, General tab.

Hope that makes sense.

Miguel