A
A1
Dear Programer:
I have Form (master form parent form) and sub form
the master form contain 10 controls combobox to filter subform
control No1 (after update event)
me.subformsearch.form.filter = "Groupnumber=" & me.cbogroupno
me.subformsearch.form.filteron=true
control No 2 (after update event)
me.subformsearch.form.filter="dateofdeparture"= # " & me.cbodate & "#"
me.subformsearch.form.filteron=true
controlno 3 after update event
same code as above
control no 4 after update
same code as above
etc
what is the problem in this code
every control not related to other controls
I mean
every control apply (((((separate filter)))))
=========================
what I want
I want use this new edited code and put this code in command button in
master form parent form and code check all combo box and at the end give me
one filter for all controls
and give me the result
===============
I have Form (master form parent form) and sub form
the master form contain 10 controls combobox to filter subform
control No1 (after update event)
me.subformsearch.form.filter = "Groupnumber=" & me.cbogroupno
me.subformsearch.form.filteron=true
control No 2 (after update event)
me.subformsearch.form.filter="dateofdeparture"= # " & me.cbodate & "#"
me.subformsearch.form.filteron=true
controlno 3 after update event
same code as above
control no 4 after update
same code as above
etc
what is the problem in this code
every control not related to other controls
I mean
every control apply (((((separate filter)))))
=========================
what I want
I want use this new edited code and put this code in command button in
master form parent form and code check all combo box and at the end give me
one filter for all controls
and give me the result
===============