Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop up Report Filter Code question.

Status
Not open for further replies.

GR44

Technical User
Jan 13, 2003
6
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top