Re: Help using form filters
- From: "Larry Linson" <bouncer@xxxxxxxxxxxxx>
- Date: Wed, 01 Mar 2006 02:40:33 GMT
Possibly someone could make a useful suggestion if they knew just a little
more detail of what you have, and what you are trying to accomplish. Could
you clarify?
From whence do you determine the "affinity" or "value" for the "filter"?"Filtering" can be accomplished in multiple ways, one of which is to create
a "WHERE clause without the WHERE" for use as the WhereCondtion argument of
a DoCmd.OpenForm statement. In many cases, however, I prefer to create the
entire SQL statement, and pass it to a newly-opened form in the OpenArgs
argument, then set it as the Form's RecordSource in the Open Event of the
Form.
Larry Linson
Microsoft Access MVP
"Jeff" <jeffrey.anderson@xxxxxxxxx> wrote in message
news:1141180057.562285.228260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am trying to use vb code to set the filter on a form so that only
people with a common property can see each other on a form when they
open it (like if they are in the same department). But I cannot seam to
get the filters to work correctly and most of the time I'm just getting
no records to display.
Could someone lead me onto the right path?
.
- Follow-Ups:
- Re: Help using form filters
- From: Jeff
- Re: Help using form filters
- References:
- Help using form filters
- From: Jeff
- Help using form filters
- Prev by Date: Re: Conversion of an MS Access application
- Next by Date: Re: Sharing a backend over the internet
- Previous by thread: Help using form filters
- Next by thread: Re: Help using form filters
- Index(es):
Relevant Pages
|