Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

query

0 views
Skip to first unread message

awsmitty

unread,
Dec 21, 2009, 11:30:01 PM12/21/09
to
I have a form that is based on a query. The query searches five different
fields. When I double click on either teh form or the query, five question
boxes appear, one after the other, asking for teh parameters for that field.
How can I construct the form so that these boxes appear on the form, all at
once, and once filled, click a button to perform the search?

Obviously I'm very new to this

Philip Herlihy

unread,
Dec 22, 2009, 7:42:17 AM12/22/09
to
This problem gets a bit involved, as users may leave boxes blank and your
form needs to allow for this. There's a useful treatment of the problem
here:
http://allenbrowne.com/ser-62.html

Phil, London

"awsmitty" <awsm...@discussions.microsoft.com> wrote in message
news:3EB2160B-A38B-4DF7...@microsoft.com...

awsmitty

unread,
Dec 22, 2009, 11:44:01 PM12/22/09
to
Philip,

I have looked at this pior to asking, posting here. There are a few other
links that are useful, but I still can't get there, even though I think,
thought, I was, am close

"Philip Herlihy" wrote:

> .
>

Philip Herlihy

unread,
Dec 24, 2009, 8:51:21 AM12/24/09
to
There are two approaches.

Filter by Form, and Query by Form. The former is built-in, and might well
do everything you need. See:
http://support.microsoft.com/kb/304259

Query by Form is more complex. You have to build a query which refers to
the value of the boxes ("controls") on your form, and also handles the logic
of the various possibly combinations a user may enter. See:
http://support.microsoft.com/kb/304428

Try both, and then post back with specific problems.

Phil

"awsmitty" <awsm...@discussions.microsoft.com> wrote in message

news:9D4CD357-55C5-4DBB...@microsoft.com...

0 new messages