Re: search two fields
- From: John Spencer <spencer@xxxxxxxxxx>
- Date: Mon, 20 Oct 2008 18:03:34 -0400
Did you try John's solution? If you did as he said and entered the exact same prompt in the two rows, you will be asked only once. If you are asked twice, then you did not enter the exact same prompt.
'====================================================
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
'====================================================
Striker wrote:
yes, but I was trying to avoid having the user type the same thing twice..
"John W. Vinson" <jvinson@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:36upf45142clboctmm6c6f0kdeued1kbgr@xxxxxxxxxxOn Mon, 20 Oct 2008 13:32:58 -0700, "Striker" <striker3070@xxxxxxxxx> wrote:
have a table that may contain the information I want to find in one of twoSure; just use exactly the same criterion on both fields. Put the expression
fields. Either the history, or the notes field. So in the query I can
enter a search criteria in the notes field as follows Like "*" & [Enter
Search String] & "*"
Is it possible to make the history field equal what the user inputs in the
notes search box, currently they are entering the same information twice
once for each field before the query runs.
on *two separate rows* of the query grid so that it uses OR logic (returning
the record if the value exists in either one of the fields).
--
John W. Vinson [MVP]
- Follow-Ups:
- Re: search two fields
- From: Striker
- Re: search two fields
- References:
- search two fields
- From: Striker
- Re: search two fields
- From: John W . Vinson
- Re: search two fields
- From: Striker
- search two fields
- Prev by Date: Re: Update (edit) field from VBA based on a condition
- Next by Date: Re: Populating a new field
- Previous by thread: Re: search two fields
- Next by thread: Re: search two fields
- Index(es):
Relevant Pages
|