PC User
Registered User.
- Local time
- Yesterday, 22:35
- Joined
- Jul 28, 2002
- Messages
- 193
I'm trying to develop a filter for a report based on the content of a textbox on the initiating form. The following code in in the report's Activate event and I can't get it to work. Can someone help me?
Code:
Private Sub Report_Activate()
Filter = Nz((([Facility] Like "*" & Forms!frmMain.Form!txtFacilityName & "*")), "*")
FilterOn = True
End Sub