spikepl
Eledittingent Beliped
- Local time
- Today, 20:12
- Joined
- Nov 3, 2010
- Messages
- 6,142
I've dissected CJ_London's Cascading Combos from here:
http://www.access-programmers.co.uk/forums/showthread.php?t=275155
Been fiddling with it for ages, but have not been able to make it do a simple thing.
I need a setup, where an unbound column (1) of Combo1 is shown, and restricts Combo2, which shows its unbound column (1)
tblEmployers
---------------
EmpID PK, autonumber
EmpName
tblPositions
-------------
PositionID PK, autonumber
PositionName
EmpID FK
Data:
tblEmployers
---------------
1, TheFuzz
2, TheMob
tblPositions
-------------
1, BeatCop, 1
2, Inspector, 1
3, Chief, 1
4, Footsoldier, 2
5, Capo, 2
6, CapoDiTuttiCapi, 2
I need to show this in a datasheet (or perhaps continuous, if need be) view:
TheFuzz BeatCop
TheFuzz Inspector
TheFuzz Chief
TheMob Footsoldier
TheMob Capo
TheMob CapoDiTuttiCapi
where each item is selectable, and choices in column 2 are restricted by choice in column 1. (and yes, I could go back to the standard continuous-form fiddle with textbox in front of the second combo, but perhaps someone has cracked CJ_London's solution for datasheet )
http://www.access-programmers.co.uk/forums/showthread.php?t=275155
Been fiddling with it for ages, but have not been able to make it do a simple thing.
I need a setup, where an unbound column (1) of Combo1 is shown, and restricts Combo2, which shows its unbound column (1)
tblEmployers
---------------
EmpID PK, autonumber
EmpName
tblPositions
-------------
PositionID PK, autonumber
PositionName
EmpID FK
Data:
tblEmployers
---------------
1, TheFuzz
2, TheMob
tblPositions
-------------
1, BeatCop, 1
2, Inspector, 1
3, Chief, 1
4, Footsoldier, 2
5, Capo, 2
6, CapoDiTuttiCapi, 2
I need to show this in a datasheet (or perhaps continuous, if need be) view:
TheFuzz BeatCop
TheFuzz Inspector
TheFuzz Chief
TheMob Footsoldier
TheMob Capo
TheMob CapoDiTuttiCapi
where each item is selectable, and choices in column 2 are restricted by choice in column 1. (and yes, I could go back to the standard continuous-form fiddle with textbox in front of the second combo, but perhaps someone has cracked CJ_London's solution for datasheet )
Last edited: