PC Review


Reply
Thread Tools Rate Thread

How to create an input field in query

 
 
=?Utf-8?B?RGln?=
Guest
Posts: n/a
 
      21st Mar 2007
If I had a query that pulled from several tables and one of the fields pulled
was State. How can I get the query to ask me what state I want..so I can type
in NY or MN or CA and have it just give me those?

Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RmVkQnJhZA==?=
Guest
Posts: n/a
 
      21st Mar 2007
One simple way is to do so in the design grid of the query. You could simply
type the following into the first 'Criteria' row under the State field:

[Enter the State you want]

Or, whatever you want it to ask for. When the query is triggered, a box
will appear, asking the user for the input. Be sure to include the brackets
as shown above.

In the Access Help files you can look for 'Parameter Query' to find more
information.

"Dig" wrote:

> If I had a query that pulled from several tables and one of the fields pulled
> was State. How can I get the query to ask me what state I want..so I can type
> in NY or MN or CA and have it just give me those?
>
> Thanks

 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      21st Mar 2007
On Wed, 21 Mar 2007 13:15:16 -0700, Dig <(E-Mail Removed)> wrote:

>If I had a query that pulled from several tables and one of the fields pulled
>was State. How can I get the query to ask me what state I want..so I can type
>in NY or MN or CA and have it just give me those?
>
>Thanks


On the Criteria line underneath the state field in the query grid type

[Enter State:]


John W. Vinson [MVP]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a calculated date in a field on input form Steve in S.F. Microsoft Access Form Coding 4 25th Oct 2008 05:23 AM
how do i create a doc for input into a doc with field codes? =?Utf-8?B?bGVldG1iZA==?= Microsoft Word New Users 1 26th May 2006 07:12 PM
how to create a form with tab advances to the next input field =?Utf-8?B?SlRCbGFja0lW?= Microsoft Word Document Management 1 19th Jan 2006 03:30 AM
How to create a single input field that copies itself into specif. =?Utf-8?B?S2VuRQ==?= Microsoft Word Document Management 2 7th Apr 2005 02:23 PM
how can I best create a rich-text input field in ASP.NET, like in hotmail Leo Muller Microsoft ASP .NET 1 22nd Mar 2004 09:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:23 AM.