I'm trying to create a report filter via a pop-up box. I went to the MS website and the provided some direction and codes. One particular code creates an error and wanted to see if you all could tell me what to look for to correct it.
The code was:
Private Sub Clear_Click()
Dim intCounter As Integer
For intCounter = 1 To 2
Me("Filter" & intCounter) = ""
Next
End Sub
The error it created stated "You cannot assign a value to this object". Can anyone tell me what to look for?
The code was:
Private Sub Clear_Click()
Dim intCounter As Integer
For intCounter = 1 To 2
Me("Filter" & intCounter) = ""
Next
End Sub
The error it created stated "You cannot assign a value to this object". Can anyone tell me what to look for?