Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

onOpen time select lastdate

Hello,

I want to select last time on open time , How can i on  my qvd file?

Thanks.

1 Solution

Accepted Solutions
avinashelite

Hi

I check you file the reload date format and start column their is no match that's why its not selecting

try like this;

In the script

create one more column for start as below

load

start,

date(start,'DD-MM-YYYY') as match_date,

etc

then go to settings >trigger > on open> then select filed selection>select   match_date

and in the value : date(reloadtime(),'DD-MM-YYYY')

this will do

View solution in original post

8 Replies
avinashelite

Hi Murat,

You want to select the last time on which field ???? or your trying to get the user last login time

Not applicable
Author

Hi Avinash,

Thank you for your interest,


I want to see data on lastdate onOpen ,

If i select date field on last time ,Can ı see ?


avinashelite

see, if you are tracking and have date filed matching for it you can do.

NOTE: if your trying to see when the data when the user last login , this may not be possible

Not applicable
Author


Hi,

Can you please specify your query a bit more ?

But as far as I could understand, you need the data as it was 'selected' before last close.

There are quite a few possibilities to it. One of them could be;

You have a Year, Month selected which can be stored in a variable.

This variable can be passed to the trigger in document settings OnOpen Event Trigger, like in the image below;

Thus, when you open the  document next time, the last selected Month Year will be selected Default !

Exp.png

Hope it Helps!

Cheers !

Not applicable
Author

I try to select  date field (Start in my file) but ı cant,.  I have date field but ı cant select lastdate or today

avinashelite

Hi

I check you file the reload date format and start column their is no match that's why its not selecting

try like this;

In the script

create one more column for start as below

load

start,

date(start,'DD-MM-YYYY') as match_date,

etc

then go to settings >trigger > on open> then select filed selection>select   match_date

and in the value : date(reloadtime(),'DD-MM-YYYY')

this will do

Not applicable
Author

Thank you so much Avinash.

avinashelite

No problem