You must mean for an IP 2007 browser form?
If so, I'd suggest you try qRules - there is a command that can be used to add a filter to an owssvr.dll connection to return filtered data. Otherwise - you'll need web services (to return your data pre-filtered) or custom code, I'm afraid.