Help! error in form code

B

Bdavis

I'm adding a very simple filter code to a form and I keep getting the
folowing error whenI attempt to use the filter in the active form.:

A problem occured while MS Office was communicating with the OLE server or
active X control.

Here's the code:

Private Sub Combo32_AfterUpdate()
Me.Filter = "sControlNum =" & Me!AnalFilt
Me.FilterOn = True


End Sub
 
Top