Form/Query Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a form with a text box to enter a zip code. Once the user
enters the zip, I want to look up that number in a query.

How do I link the number entered in the text box to the zip field on the
query?
 
Put this as criteria in the query.
[Forms]![YourFormName]![YourTextBoxName]
You must have the form open and enter data before running the query.
 
Thanks Karl When I do this a get a pop up box asking for the information
again, how can I eliminate the popup box?
--
Dirk


KARL DEWEY said:
Put this as criteria in the query.
[Forms]![YourFormName]![YourTextBoxName]
You must have the form open and enter data before running the query.
--
KARL DEWEY
Build a little - Test a little


Dirk_Bob said:
I have created a form with a text box to enter a zip code. Once the user
enters the zip, I want to look up that number in a query.

How do I link the number entered in the text box to the zip field on the
query?
 
As Karl said, the form must be open when the query runs. If it is, make sure
that you typed the names of the form and text box correctly.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Dirk_Bob said:
Thanks Karl When I do this a get a pop up box asking for the information
again, how can I eliminate the popup box?
--
Dirk


KARL DEWEY said:
Put this as criteria in the query.
[Forms]![YourFormName]![YourTextBoxName]
You must have the form open and enter data before running the query.
--
KARL DEWEY
Build a little - Test a little


Dirk_Bob said:
I have created a form with a text box to enter a zip code. Once the
user
enters the zip, I want to look up that number in a query.

How do I link the number entered in the text box to the zip field on
the
query?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top