Hi!
If this is a subform you are filtering from the main form, try:
[tt]Me!FormName.Form.Filter = "[ALLW]>0"
Me!FormName.Form.FilterOn = True
Me!FormName.Form.Requery[/tt]
- note - the FormName referst to the subform control name, which might differ from the subform name as viewed in the database window.
- ALLW is a field in the underlying recordset, not a control on the form
If this is filtering the current form, try:
[tt]Me.Filter = "[ALLW]>0"
Me.FilterOn = True
Me.Requery[/tt]
Roy-Vidar