Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a straight table in qvw. when user selects date range. the user wants to pull data only with in selected date range. The table is pulling all values including date range selections data and blanks. but the user wants to see only data in the table based on date range selections. how to make the table show only data within the selected date range?
the table have below
Dimension 1: =If(Match(CODE ,'IN','OUT'),ENTRYID)
Dimension 2: Order
Expr1: =Only(Name)
Expr2: =Only(StafdMember)
Expr3: =Max(ConnectionDate)
Expr4: =FirstSortedValue(BOOKTEXT,-ConnectionDate)
Date selections have below Triggers in OnChange
vStartDate: ='>='&vStartDate & '<=' & vEndDate
vEndDate : ='>='&vStartDate & '<=' & vEndDate
Please can anyone suggest me.
Thanks.
yes u can do,but how users are selecting start date & end date from front end?
through input box. can you let me know where I need to use the above mentioned triggers please?
Hi Amelia,
You can use something like
date here will be you date filed in your data.
Expr1: =Only(date={'>$(=$(vStartDate) <=$(vEndDate)'}>}Name)
Hope it helps
"Document Event Triggers" syntax through Documents properties--trigger tab of ur qvw
Thanks. I have used this and the column is showing all blanks.
Thanks. where I need to use this?
Well u share your Qvw? may be a reduced one so that we can investigate further.
Also do u need a dynamic straight table or a simple one.
what to use in value OnOpen for vStartDate
OnOpen
set variable
vStartDate
for vStartDate--no need to define anything here
for vEndDate--=Today()
Amelia,
check this post, it contains an example as well