Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Register by January 31 for $300 off your Qlik Connect pass: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

current dat on active sheet

hi,

i have feild with date, what i need to write in the trigers that every time that i open that sheet

i will see the current day.

i need to do it on the "sheet properteis"?

thnaks'

yarin.

1 Solution

Accepted Solutions
khadeer
Specialist
Specialist

Check this updated file

View solution in original post

7 Replies
sushil353
Master II
Master II

Hi,

goto Settings>Document Property>Triggers>Document Event Triggers>On Open>Add Action> Action Type(Selection)> Action(Select in field)

Select your date field in field box and in search string =Max(Date_field).

HTH

Sushil

Anonymous
Not applicable
Author

hi,

i did what you wrote & it doesn't change the date when i go into that sheet.

you have any idea ?

thanks'

yarin.

sushil353
Master II
Master II

can u share the sample qvw file

sushil353
Master II
Master II

do u want to trigger the date selection whenever u activate the sheet?

if yes then

goto Settings>sheet property> On activate sheet>add action

add action as i told u in the previous post

khadeer
Specialist
Specialist

Document Properties--->Triggers---->On Open Selections

For Sheet do the same in goto Settings>sheet properties> On activate sheet>add action

Check attached file. Its working for me.

khadeer
Specialist
Specialist

Check this updated file

Not applicable
Author

You can achive this by using macro onActivateSheet Trigger.

Following is the code to achive your requirement, Hope this will help you,

set sheet=ActiveDocument.ActiveSheet

set sp=sheet.GetProperties

sp.Name= WeekDayName(WeekDay(date))

sheet.SetProperties sp