R
RoMi
Access 2002 (mdb saved as 2000).
Problem: Selecting data in a combo box can not activate a query on a
subform. Nothing happens.
Temporary solution: Change to a design view and then immediately return to a
form view. After that all works properly, i.e. combo box correctly filters
the data on a subform.
Design: A command button cmdFilter placed on a switchboard initiates a macro
mcrFilter which opens a form frmDataFilter. There is a combo box cboFilter
on this form which helps user to select a parameter from a table tblDept and
use it to filter the data from a tblData. The results are displayed on a
subform in a datasheet view.
What is missing? What else is needed to activate the query because an
AfterUpdate event in a cboFilter is not enough. This problem happens after
the opening of the form that keeps the cboFilter and a subform.
More specific data or a code needed for better understanding of this
problem?
Thank you
M. Kadija
Problem: Selecting data in a combo box can not activate a query on a
subform. Nothing happens.
Temporary solution: Change to a design view and then immediately return to a
form view. After that all works properly, i.e. combo box correctly filters
the data on a subform.
Design: A command button cmdFilter placed on a switchboard initiates a macro
mcrFilter which opens a form frmDataFilter. There is a combo box cboFilter
on this form which helps user to select a parameter from a table tblDept and
use it to filter the data from a tblData. The results are displayed on a
subform in a datasheet view.
What is missing? What else is needed to activate the query because an
AfterUpdate event in a cboFilter is not enough. This problem happens after
the opening of the form that keeps the cboFilter and a subform.
More specific data or a code needed for better understanding of this
problem?
Thank you
M. Kadija