Hello everybody!
I aim to develop an editable form based on a many-to-many relationship between clients and products. I’ve structured my database with three tables: “clients,” “products,” and a linking table containing foreign keys: “clients_id” and “products_id.”
After constructing the main form using the ‘clients’ table, I created a query that combines the ‘clients’ table, the linking table, and the ‘products’ table. Subsequently, I inserted this query as a subform into the main form, linking the ‘clients_id’ column of the subform to the clients’ ‘ID’ column of the main form.
Unfortunately, it doesn’t work as intended. I encountered a challenge when attempting to add or edit data within the query-based subform. Additionally, the linking table fails to update accordingly.
My question is: How can I address this issue and create a functional, editable many-to-many form that ensures proper data management?
file in attached
test.odb (30.3 KB)
Thank you for all your help