i know there is a way to populate one combobox based on another, but i've never done it myself and am looking for some help.
i have a table that has SwitchNo and NumberofPorts as two columns. i want to create a union query to display the correct numberofports for the selected switch in switchno.
ex)
SwitchNo - 1
Numberofports - 24
switchno - 2
numberofports - 5
cbo1 (switchno) = 1
cbo2 (portno) = (populate with ports 1-24)
cbo1 (switchno) = 2
cbo2 (portno) = (populate with ports 1-5)