I'm trying to filter the records in a form using a pass through query.
The FWIPEvent is the pass through query. I use a pass through query as it is a complex query to select specific events and hence runs much faster as a pass through query.
However, it does not work, in that though the code executes, all records are returned.
If I create the query in Access using linked tables then it works correctly.
Any suggestions?
Thanks for the help
Paul
Code:
strFilter = strFilter & "( eventid in (select FWIPEvent.eventid from FWIPEvent )) " Me.Filter = strFilter Me.FilterOn = IIf(strFilter <> "", True, False) Me.Requery
However, it does not work, in that though the code executes, all records are returned.
If I create the query in Access using linked tables then it works correctly.
Any suggestions?
Thanks for the help
Paul
Comment