G
Guest
Well I was getting overconfident and thought I could get this to work.
I have a Combobox on the mainform 'Combo2'. The user is meant to type a
date into this feild.
The subform is a datasheet form with a feild called [date]. I attempted to
use the following code to filter the resultes of the subform and, needdless
to say, it failed. Anyhelp is greatly appreciated.
Private Sub Combo2_AfterUpdate()
Me!frm_timetrack.Form.Filter = "Me!frm_timetrack.Form!Date=#" & Me!Combo2 &
"#"
Me!frm_timetrack.Form.FilterOn = True
End Sub
I have a Combobox on the mainform 'Combo2'. The user is meant to type a
date into this feild.
The subform is a datasheet form with a feild called [date]. I attempted to
use the following code to filter the resultes of the subform and, needdless
to say, it failed. Anyhelp is greatly appreciated.
Private Sub Combo2_AfterUpdate()
Me!frm_timetrack.Form.Filter = "Me!frm_timetrack.Form!Date=#" & Me!Combo2 &
"#"
Me!frm_timetrack.Form.FilterOn = True
End Sub