I am using a memory tag data set to reference options in a dropdown on my perspective app. I want to have a second dropdown that references all options that have the same attribute based on the first dropdowns selection.
Example: Dataset -
Colorado, Denver
Colorado, Grand Junction
Nevada, Las Vegas
California, L.A.
Virginia, Lexington
If in the first dropdown selection I choose “Colorado”, I want the second dropdown to display options “Denver” and “Grand Junction”.
I currently have this code in the second dropdown:
tabList = []
for row in range(value.getRowCount()):
tabList.append(self.getSibling("Zone_Select_Drop").props.value)
return tabList
I am using Query to reference option in a dropdown. Same like -Casey_Roman , I want to have a second dropdown based on the first dropdowns selection:
Detail Table:
ID | Area | Process Name
1 | Area 1 | Process 1
2 | Area 1 | Process 2
3 | Area 1 | Process 3
4 | Area 2 | Process 4
5 | Area 2 | Process 5
First dropdown I choose "Area 1" and second dropdown will display options "Process 1, Process 2, Process 3". Is it possible for using same script like -Casey_Roman although using query?