I'm working on a pretty simple app for work. It's attached to a SQL database and I have all the neceesary tables linked in.
I have one drop down that just has an item list in it for Truck or Driver. I'm trying to make the second drop down populate with a list of items depending on the selection of dropdown 1.
For example, if Dropdown 1 is set to Truck, I need to query table UnitList2 where column Active is Y and return the list from column Unit.
If Dropdown 1 is set to Driver, I need to query table DriverList where column Active is Y and return the list from column Driver_List.
Can anyone assist with how to accomplish this?