G
Guest
I have constucted a form (frmAdmin) that has a combo box (cboStaff2) and a
list box. The list box is fed by a query that uses the entry in the combo box
as it's selection criteria - i.e. you select a teacher from the combo box,
and the list box returns a list of the pupils for that teacher. The selection
criteria in the query takes the form: [Forms]![frmAdmin]![cboStaff2].
However, when I open the form, it has now started asking for data from
[Forms]![frmAAAA]![cboStaff2] - an entirely different form (but curiously,
the first form in my database). When I open the query in design mode, I find
that the criteria has changed by itself. Resetting the criteria works fine
until I close and open the database and it's magically gone wrong again. Is
this a bug, or is it likely that I'm doing something wrong?
list box. The list box is fed by a query that uses the entry in the combo box
as it's selection criteria - i.e. you select a teacher from the combo box,
and the list box returns a list of the pupils for that teacher. The selection
criteria in the query takes the form: [Forms]![frmAdmin]![cboStaff2].
However, when I open the form, it has now started asking for data from
[Forms]![frmAAAA]![cboStaff2] - an entirely different form (but curiously,
the first form in my database). When I open the query in design mode, I find
that the criteria has changed by itself. Resetting the criteria works fine
until I close and open the database and it's magically gone wrong again. Is
this a bug, or is it likely that I'm doing something wrong?