In a report?
That would probably be when opening the report, say something like the following air code
[tt]DoCmd.OpenReport "TheReport", acViewPreview,,"TheField Like '*" & Me!txtTheControl.Value & "*'"[/tt]
TheField - the name of the field
txtTheControl - the name of the control holding your criterion on the form
Roy-Vidar