I've got the problems from my previous thread entirely solved. (I ended up ditching the query and just pulled all the fields from the table itself.)
Now I've got another problem that I'm a little confused on. This form is intended to be a subform for another form.
The main form (Neighbourhoods) has an unbound combobox that allows the user to jump to a certain record. When this is done, the subform (Households) filters and displays only records from the Households table that are associated with the current Neighbourhood record. (I just used the wizard to link the subforms, which suggested "Households for each record in Neighbourhood using ID.")
This part is functioning correctly, and I've even managed to set up an OnCurrent event to make it update correctly if I use the navigation buttons instead.
On the Households subform, I have another unbound combobox to jump to a specified Household record. However, it displays all households. Attempting to jump to a household not in the current filter just silently fails.
Ideally, I'd prefer it to only show the households associated with the current Neighbourhood in the main form.
I've followed a tutorial to set up a cascading comboform in a test database, and it looks like what I am try to do, but I'm a little puzzled on how to get the changes to jump to a subform (or if it even applies for unbound navigation comboboxes).
(I've attached a screenshot in the zip file, in hopes that it can explain better than I can. Yes, I'm designing an Access database to keep track of Sims, mostly as an excuse to learn it. Also, please mentally replace any instance of 'families' with 'households,' I sometimes interchange the words.)
Thanks for help.
Now I've got another problem that I'm a little confused on. This form is intended to be a subform for another form.
The main form (Neighbourhoods) has an unbound combobox that allows the user to jump to a certain record. When this is done, the subform (Households) filters and displays only records from the Households table that are associated with the current Neighbourhood record. (I just used the wizard to link the subforms, which suggested "Households for each record in Neighbourhood using ID.")
This part is functioning correctly, and I've even managed to set up an OnCurrent event to make it update correctly if I use the navigation buttons instead.
On the Households subform, I have another unbound combobox to jump to a specified Household record. However, it displays all households. Attempting to jump to a household not in the current filter just silently fails.
Ideally, I'd prefer it to only show the households associated with the current Neighbourhood in the main form.
I've followed a tutorial to set up a cascading comboform in a test database, and it looks like what I am try to do, but I'm a little puzzled on how to get the changes to jump to a subform (or if it even applies for unbound navigation comboboxes).
(I've attached a screenshot in the zip file, in hopes that it can explain better than I can. Yes, I'm designing an Access database to keep track of Sims, mostly as an excuse to learn it. Also, please mentally replace any instance of 'families' with 'households,' I sometimes interchange the words.)
Thanks for help.
