Good morning
I have a question regarding how is the best practice to link 2 combo box
What is following is a simplifed example of my problem
I have 3 tables
t_client
t_Departements
t_Divisions
One client contains a name and belongs to a department
A department contains a name and belongs to a division
A Division contains just a name
In my form f_client I have my client Name, my division and my departement.
What I would like to do is to use the Division first in order to filter out the departments from this division, so what I've putted is a requery of of the departement on my Division_Change() event.
Till that point everything works.
But now I have issue when I want to select the values in the department field, I simply can't some time it tells me that my relation of my table is wrong, or sometimes it tells me that I need to save the record first before selecting the value, these two cases depends if I'm in edition or new record mode.
My goal would be to use this rather simple form in a continuous form.
I've putted my sample db in attachment, I don't know if somebody could help me hereI would really appreciate
Thank you
David