on an unbound form I have three listboxes. I used the wizard to create them. Their names and row sources are as follows:
cboCampType SELECT DISTINCTROW [tblCampType].[CampTypeID], [tblCampType].[CampType], [tblCampType].[CampDescription] FROM [tblCampType];
cboLName SELECT DISTINCTROW [tblLegislators].[LegID], [tblLegislators].[LName], [tblLegislators].[FName] FROM [tblLegislators] ORDER BY [LName];
cboCampName SELECT DISTINCTROW [tblCampaign].[CampName] FROM [tblCampaign] ORDER BY [CampName];
tblCampType is linked to tblCampaign as a look up table. tblLegislators is joined to tblCampaign via a junction table called jctblLegCamp. there is a one to many relationship between Legislators and Campaigns.
How do you tell these listboxes that after one of them is updated, to filter the other two? The users will not choose in any particular order, just personal preference so there needs to be three choices from the onset. I think the answer lies in dynamically setting the rowsource of the remaining boxes after a selection is made . This is proving difficult because the code required is beyond my scope. Also i don’t believe that these boxes understand that they are related to each other. Apparently, they can’t look at the relationship window and see the line connecting them so I have to figure out a way to tell them.
If anyone has suggestions on where to get some clarity on the situation, I’d be appreciative. I know i’ve seen a post about this, but can’t find that either. Thanks.