I'm pretty much learning MS Access from scratch, so I'm probably just making some silly beginner mistake.
I have two tables, Neighbourhoods and Households. I have a one-to-many relationship between the two of them. (ID > Neighbourhood).
I made a form for Households and made a combobox with this SQL in the row source:
(The 'order' is a likely-clumsy way of making sure my options appear in a certain order.)
The control source is set to the Neighborhood field on the Households table, and the Bound Column is 1.
When I select an option in the combobox, I expect it to modify just the current record in the Households table. Instead, the changes update the currently-selected field in the Neighbourhoods table. Depending on what Bound Column I chose, I either end up with the newly-selected neighbourhood name or a number.
I'm confused on why this is happening.
I hope I explained this well enough. Thanks in advance.
I have two tables, Neighbourhoods and Households. I have a one-to-many relationship between the two of them. (ID > Neighbourhood).
I made a form for Households and made a combobox with this SQL in the row source:
Code:
SELECT Neighbourhoods.ID, Neighbourhoods.Order, Neighbourhoods.Neighbourhood
FROM Neighbourhoods
ORDER BY Neighbourhoods.[Order];
(The 'order' is a likely-clumsy way of making sure my options appear in a certain order.)
The control source is set to the Neighborhood field on the Households table, and the Bound Column is 1.
When I select an option in the combobox, I expect it to modify just the current record in the Households table. Instead, the changes update the currently-selected field in the Neighbourhoods table. Depending on what Bound Column I chose, I either end up with the newly-selected neighbourhood name or a number.
I'm confused on why this is happening.
I hope I explained this well enough. Thanks in advance.
Last edited: