Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

update date and time from a button

Upon pressing the button I want that updates the date and time.

The only way that is updated by a partial reload of data.

qlik.png

in my textbox I have ='Última Actualización ' & timestamp(reloadtime())

what I want is to press the button and my box is upgraded

thanks for the support!!

4 Replies
ali_hijazi
Partner - Master II
Partner - Master II

Actually reloadtime() will give you the last time the document was reloaded

this will be updated after each reload and end users will see the correct and updated time

unless you want an updated time of actual date then you can use Now() in your text object

I can walk on water when it freezes
Anonymous
Not applicable
Author

Hi Ali Hijazi

what I mean is that when I select the blue button to save the date and time at which the button was pressed and the info that I keep a QVD.

thanks for the support

ali_hijazi
Partner - Master II
Partner - Master II

ok but keep in mind end users who see the document via browser cannot reload the document

this can be done only via the client

ok in your script at the final end line put the following script:

let vReloadTime = TimeStamp(Today());

Reload_Time:

load $(vReloadTime) as Reload_Time

autogenerate 1;

store Reload_Time into Reload_Time.qvd

let vReloadTime = null();

drop table Reload_Time;

hope this helps!!

I can walk on water when it freezes
MarcoWedel

Hi,

maybe like this:

QlikCommunity_Thread_142026_Pic1.JPG.jpg

hope this helps

regards

Marco