LOUISBUHAGIAR54
Registered User.
- Local time
- Today, 13:22
- Joined
- Mar 14, 2010
- Messages
- 157
Good day ye wonderful people,
Can someone please help ?
I have a combobox which is based on a table containing doctors' specialties such as physician, surgeon etc. On the same form I have a list box based on a query. The list box is supposed to show all the doctors with the speciality shown in the combo box.
The query runs as follows:
SELECT Query2.appl, Query2.dname, Query2.surname, Query2.dctIdcard, Query2.Speciality FROM Query2 WHERE (((Query2.Speciality)=[Forms]![Appointments]![Combo44])) ORDER BY Query2.surname;
In the after update event of Combo44 I have added the following;
Me!List54.Requery.
However the list does not update with new choices in the Combo box.
If I change the form into the design view and back into the form veiw the list updates as expected.
Could anyone please find a diagnosis ? Thanks for trying.
Louis Buhagiar
Can someone please help ?
I have a combobox which is based on a table containing doctors' specialties such as physician, surgeon etc. On the same form I have a list box based on a query. The list box is supposed to show all the doctors with the speciality shown in the combo box.
The query runs as follows:
SELECT Query2.appl, Query2.dname, Query2.surname, Query2.dctIdcard, Query2.Speciality FROM Query2 WHERE (((Query2.Speciality)=[Forms]![Appointments]![Combo44])) ORDER BY Query2.surname;
In the after update event of Combo44 I have added the following;
Me!List54.Requery.
However the list does not update with new choices in the Combo box.
If I change the form into the design view and back into the form veiw the list updates as expected.
Could anyone please find a diagnosis ? Thanks for trying.
Louis Buhagiar