Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
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

Re: Change a value of a variable in Textbox

Hi,

you could try to define your variable as

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

in the script

hope this helps

regards

Marco

Community Browser