Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change a value of a variable in Textbox

Hello Dear Community,

i have programmed a timer and they counting down the time. (happend in Textbox ) If the Time is 00:00:00 the Text in Textbox will Change to END it all works but in place of End i need to Change a Value of my Variable as u see below

=

if(now()<vEndtimer,

  num(hour(vEndtimer-now()),'00') & ':' & num(Minute(vEndtimer-now()),'00') & ':' & num(Second(vEndtimer-now()),'00')

,

'END'  )  & vCheck=1  !!dont work!!! ######### i wish like this   vCheck=1

i try:  Let vCheck=1 and vCheck =1 nothing works it would be good of it is possible to Change this in the if condition.

Can any body help

kind regards

Bernd

1 Reply
MarcoWedel

Hi,

you could try to define your variable as

SET vCheck = If(now()<vEndtimer,1)

in the script

hope this helps

regards

Marco