D
drewship
Hello all. I have a table similar to this:
UnitID Unit ParentID
1 ship
2 engine 1
3 radar 1
4 oil 2
5 gears 2
6 transmitter 3
7 receiver 3
8 waveguide 6
The UnitID is the Key, Unit contains all possible units, and the ParentID
indicates the UnitID of the next higher Unit on the tree.
How do I connect the ParentID with the UnitID when a Unit is selected from a
combobox? For example, if I select receiver, I need to display transmitter in
a separate field. If I select waveguide, I need to see transmitter in one
field and radar in another field. I hope this makes sense and someone can
help me.
Thanks,
Andrew
UnitID Unit ParentID
1 ship
2 engine 1
3 radar 1
4 oil 2
5 gears 2
6 transmitter 3
7 receiver 3
8 waveguide 6
The UnitID is the Key, Unit contains all possible units, and the ParentID
indicates the UnitID of the next higher Unit on the tree.
How do I connect the ParentID with the UnitID when a Unit is selected from a
combobox? For example, if I select receiver, I need to display transmitter in
a separate field. If I select waveguide, I need to see transmitter in one
field and radar in another field. I hope this makes sense and someone can
help me.
Thanks,
Andrew