I'm just practising my ComboBox skills and have stumbled upon this.
I have a form ("DropDowns") with two combo boxes on it: "FamilyName" and "GivenName"
What I did:
"FamilyName" ComboBox:
RowSource: points to the FamilyName record from a "Learners" table.
"GivenName" ComboBox:
And After Update: Event Procedure:
It's all working fine-ish. What I don't like is that when I select a different value from the FamilyName combo box, the previous GivenName value is still displayed. Is it possible to clear GivenName the moment the FamilyName has changed?
Thank you
I have a form ("DropDowns") with two combo boxes on it: "FamilyName" and "GivenName"
What I did:
"FamilyName" ComboBox:
RowSource: points to the FamilyName record from a "Learners" table.
Code:
SELECT DISTINCT Valid_Learner.FamilyName
FROM Valid_Learner;
"GivenName" ComboBox:
Code:
SELECT Valid_Learner.GivenNames, Valid_Learner.FamilyName
FROM Valid_Learner
WHERE (((Valid_Learner.FamilyName)=[Forms]![DropDowns]![FamilyName]));
Code:
GivenName.Requery
Thank you