A
Aaron
Hi,
I am needing some help with the code below. It is not filtering what I need
it to and not sure what to do.
I have two comdo boxes that I have the user clicking on to filter the form.
Dim strlistlookup As String
Dim strstkidlookup As String
strlistlookup = cmblistlookup.Value
strstkidlookup = cmbstkidlookup.Value
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
DoCmd.OpenForm "frmcounts", , , "STATUS<>'Complete' "
Me.Form.Filter = (LISTTYPE = strlistlookup)
Me.Form.Filter = (MAXSTKID = strstkidlookup)
Me.Form.FilterOn = True
Thanks in advance for your help!
Aaron
I am needing some help with the code below. It is not filtering what I need
it to and not sure what to do.
I have two comdo boxes that I have the user clicking on to filter the form.
Dim strlistlookup As String
Dim strstkidlookup As String
strlistlookup = cmblistlookup.Value
strstkidlookup = cmbstkidlookup.Value
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
DoCmd.OpenForm "frmcounts", , , "STATUS<>'Complete' "
Me.Form.Filter = (LISTTYPE = strlistlookup)
Me.Form.Filter = (MAXSTKID = strstkidlookup)
Me.Form.FilterOn = True
Thanks in advance for your help!
Aaron