G
Guest
I ma using this code to build a filter and am not sure how to apply it to a
datasheet view subform. Can anyone help me with the syntax for that?
'draw filter criteria from open form
strCourseName = BuildCriteria("screenID", dbText, "Me!cboFilter.Column(2)")
'my failed syntax to apply filter to a second open but hidden form
Forms!frmFirstFilter.Form!tblCollection.Filter = strCourseName
datasheet view subform. Can anyone help me with the syntax for that?
'draw filter criteria from open form
strCourseName = BuildCriteria("screenID", dbText, "Me!cboFilter.Column(2)")
'my failed syntax to apply filter to a second open but hidden form
Forms!frmFirstFilter.Form!tblCollection.Filter = strCourseName