Hi Community,
I have one variable -
Set(VarTime,["8 am","9 am","10 am","11 am","12 pm","1 pm","2 pm","3 pm","4 pm","5 pm","6 pm","7 pm","8 pm","9 pm","10 pm"])
So in drop_down_1 items will be the values of the variable, But in drop_down_2 I want to show the items which are after the selected value of first drop down.
EX: User selected 2pm in first drop down so in second drop down I want to show from 3pm - 10 pm.
Can anyone please tell me how can I achieve this?
Solved! Go to Solution.
Hi @powerprithwis ,
Do this collection - screen OnVisible should work
ClearCollect(
colTime,
{Timex: "8 am", RowNo:1},
{Timex: "9 am",RowNo:2},
{Timex: "10 am",RowNo:3},
{Timex: "11 am",RowNo:4},
{Timex: "12 pm",RowNo:5},
{Timex: "1 pm",RowNo:6},
{Timex: "2 pm",RowNo:7},
{Timex: "3 pm",RowNo:8},
{Timex: "4 pm", RowNo:9},
{Timex: "5 pm", RowNo:10},
{Timex: "6 pm", RowNo:11},
{Timex: "7 pm", RowNo:12},
{Timex: "8 pm", RowNo:13},
{Timex: "9 pm", RowNo:14},
{Timex: "10 pm", RowNo:15}
)
The Items of your first combo box is
colTime
If necessary, edit the box on the right and make sure it displays Timex (Time is a reserved word)
The Items of the second combo box is
Filter(
colTime,
RowNo > YourFirstComboBox.Selected.RowNo
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @powerprithwis ,
Do this collection - screen OnVisible should work
ClearCollect(
colTime,
{Timex: "8 am", RowNo:1},
{Timex: "9 am",RowNo:2},
{Timex: "10 am",RowNo:3},
{Timex: "11 am",RowNo:4},
{Timex: "12 pm",RowNo:5},
{Timex: "1 pm",RowNo:6},
{Timex: "2 pm",RowNo:7},
{Timex: "3 pm",RowNo:8},
{Timex: "4 pm", RowNo:9},
{Timex: "5 pm", RowNo:10},
{Timex: "6 pm", RowNo:11},
{Timex: "7 pm", RowNo:12},
{Timex: "8 pm", RowNo:13},
{Timex: "9 pm", RowNo:14},
{Timex: "10 pm", RowNo:15}
)
The Items of your first combo box is
colTime
If necessary, edit the box on the right and make sure it displays Timex (Time is a reserved word)
The Items of the second combo box is
Filter(
colTime,
RowNo > YourFirstComboBox.Selected.RowNo
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
183 | |
110 | |
88 | |
44 | |
42 |
User | Count |
---|---|
229 | |
108 | |
106 | |
68 | |
68 |