Can anyone tell me what I'm doing wrong in the following code?
I hightlighted where the error is occuring.
Thanks.
Code:
Private Sub cmdOK_Click()
With Forms("frmADD_LEAK_FORM")
[highlight].Filter = "COMMUNITY= " & Me.COMMUNITY[/highlight]
.FilterOn = True
End With
DoCmd.Close acForm, Me.Name
End Sub
I hightlighted where the error is occuring.
Thanks.