Re: Select a parameter for my query
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Sat, 4 Jun 2005 06:20:38 -0400
Create a form that has a combobox on it that displays all of the names.
In your query, replace [Type last name, first name] in the criteria field
with Forms![MyForm]![MyCombo] (Use your actual names rather than MyForm and
MyCombo)
Note, however, that this will only work if the form is open when you run the
query. If it isn't, you'll get the same prompt you're used to, except it
won't have the helpful "Type last name, first name" instruction on it.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"LMB" <RomulanQueen@xxxxxxxxxxxxxxx> wrote in message
news:%23A8HxSLaFHA.4040@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Guys,
>
> Access 2000. I have a parameter query that I made. I have a field "Name"
> which is a concatenated field from a sub query. I put [Type last name,
> first name] in the criteria field. This gives me the results I want which
> is to only see one record instead of all the records. The problem is that
> I have to type the last name and first name exactly right with the comma
> and space for it to work. Is there a way to create a dropdown list of the
> names so the user can select the name instead of typing it in?
>
> Thanks,
> Linda
>
.
- Follow-Ups:
- Re: Select a parameter for my query
- From: Curtis
- Re: Select a parameter for my query
- From: LMB
- Re: Select a parameter for my query
- References:
- Select a parameter for my query
- From: LMB
- Select a parameter for my query
- Prev by Date: Select a parameter for my query
- Next by Date: Re: updating field with data from other fields
- Previous by thread: Select a parameter for my query
- Next by thread: Re: Select a parameter for my query
- Index(es):
Relevant Pages
|