I'm designing a form with five combo boxes on it. These combo boxes each contain parts 1-5 of an Address respectively. When a user chooses an option from the first box, how do I restrict the options further down the form to addresses matching that first line?
As an example, here's what I'm using as the Row Source for Combo box 2 which contains the second part of the address:
Select distinct [Address 2] from dbo_Addresses where dbo_Addresses.[Address 1] = Forms![New Address]![Address 1]
Ideally this would be further refined so that when the user chooses an option from the first box the other 4 boxes should instantly display the rest of the Address that was chosen in the first box...
Can anybody help with this?
As an example, here's what I'm using as the Row Source for Combo box 2 which contains the second part of the address:
Select distinct [Address 2] from dbo_Addresses where dbo_Addresses.[Address 1] = Forms![New Address]![Address 1]
Ideally this would be further refined so that when the user chooses an option from the first box the other 4 boxes should instantly display the rest of the Address that was chosen in the first box...
Can anybody help with this?