A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Combo Box to Filter query



 
 
Thread Tools Display Modes
  #1  
Old February 12th, 2009, 02:11 PM posted to microsoft.public.access.forms
Ray S.
external usenet poster
 
Posts: 190
Default Combo Box to Filter query

I have a form with a combo box. The box has three options. I am trying to use
it to filter in a select query. If I type in the options directly, there is
no problem and the query returns the expected result. If I use the combo box
to filter, it only works if you select the first option. I'm certain I have
typed the options correctly. Selecting either of the other two options
returns no results. What am I doing wrong?
  #2  
Old February 12th, 2009, 02:27 PM posted to microsoft.public.access.forms
Danny Lesandrini
external usenet poster
 
Posts: 109
Default Combo Box to Filter query

Ray:

How do you have the properties of the combo box set up?
How many columns and what are column widths?
What is the SQL behind the combo box, or is it a static list?

Next, how are you referencing the combo box in your filter?
--
Danny J Lesandrini

www.amazecreations.com



"Ray S." wrote ...
I have a form with a combo box. The box has three options. I am trying to use
it to filter in a select query. If I type in the options directly, there is
no problem and the query returns the expected result. If I use the combo box
to filter, it only works if you select the first option. I'm certain I have
typed the options correctly. Selecting either of the other two options
returns no results. What am I doing wrong?



  #3  
Old February 15th, 2009, 02:03 PM posted to microsoft.public.access.forms
Danny J. Lesandrini
external usenet poster
 
Posts: 263
Default Combo Box to Filter query

How are you calling the combo box from the query?

--
Danny J. Lesandrini

www.amazecreations.com


"Ray S." wrote in ...
I have a form with a combo box. The box has three options. I am trying to use
it to filter in a select query. If I type in the options directly, there is
no problem and the query returns the expected result. If I use the combo box
to filter, it only works if you select the first option. I'm certain I have
typed the options correctly. Selecting either of the other two options
returns no results. What am I doing wrong?



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.