I am trying to create a form to apply filters on a
subform but I keep getting the error
"438 OBJECT DOESN"T SUPPORT THIS PROPERTY OR METHOD"
This is the code that I have attached to the ON_ENTER
event
Dim STRSQL As String
STRSQL = "Select * from ORDER_PROCESSING where"
STRSQL = STRSQL & " ORDER_= LIKE *" & Me!ORDER_SEARCH & "*"
Forms.SEARCH_FORM_SUBFORM.SEARCH_FORM.RecordSource = STRSQL
SEARCH_FORM IS MAIN FORM
SEARCH_FORM_SUBFORM IS SUBFORM
ORDER_SEARCH IS TEXT BOX
subform but I keep getting the error
"438 OBJECT DOESN"T SUPPORT THIS PROPERTY OR METHOD"
This is the code that I have attached to the ON_ENTER
event
Dim STRSQL As String
STRSQL = "Select * from ORDER_PROCESSING where"
STRSQL = STRSQL & " ORDER_= LIKE *" & Me!ORDER_SEARCH & "*"
Forms.SEARCH_FORM_SUBFORM.SEARCH_FORM.RecordSource = STRSQL
SEARCH_FORM IS MAIN FORM
SEARCH_FORM_SUBFORM IS SUBFORM
ORDER_SEARCH IS TEXT BOX