Solved

using a combo box for query criteria

Posted on 2008-10-10
2
1,057 Views
Last Modified: 2012-06-21
Hi Everyone,
I know that by adding this code "[text]" in the criteria field of a query you get a text box to enter the data. My question is can this be a combo or list box of known items.  Also if known, is ther a way to make that text box a two part box for entering a range of choice?

I'm not intermediate for this BTW, i'm a rookie to databases :D
0
Comment
Question by:StanT
2 Comments
 
LVL 10

Accepted Solution

by:
TOPIO earned 500 total points
ID: 22690639

No, other than a text box you can't create controls at run time in a simple query.

For what do you want to do you need to create a form with a little bit of logic behind in order  to do what you want.
0
 
LVL 4

Author Comment

by:StanT
ID: 22701588
I had figured as much. Would be a nice addition to access in the future (if microsoft is listening...lol).  Thanks for your answer. :D
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now