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 - disable dropdown



 
 
Thread Tools Display Modes
  #1  
Old December 15th, 2006, 06:28 PM posted to microsoft.public.access.forms
Paul Kraemer
external usenet poster
 
Posts: 80
Default combo box - disable dropdown

I have a combo box on a form that is filled with lookup values (integers)
from another table. I have "Limit to List" set to "Yes". The user is able
to type in a number. If that number is in the list, it is selected. If the
number that is typed in is not in the list, a message pops up that says so.
This is exactly what I want, but...

I would prefer not to allow the user to drop the list down to browse the
numbers that are in the list. Basically, I think I just want to disable the
dropdown functionality of the combo box. I would like it to look just like a
text box, except that it would only allow you to enter certain values (key
values that come from another table).

Can anyone tell me if there is a way to do this?

Thanks,
Paul
--
Paul Kraemer
  #2  
Old December 15th, 2006, 08:30 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default combo box - disable dropdown

Set the List Rows property of the combo box to 1.

"Paul Kraemer" wrote:

I have a combo box on a form that is filled with lookup values (integers)
from another table. I have "Limit to List" set to "Yes". The user is able
to type in a number. If that number is in the list, it is selected. If the
number that is typed in is not in the list, a message pops up that says so.
This is exactly what I want, but...

I would prefer not to allow the user to drop the list down to browse the
numbers that are in the list. Basically, I think I just want to disable the
dropdown functionality of the combo box. I would like it to look just like a
text box, except that it would only allow you to enter certain values (key
values that come from another table).

Can anyone tell me if there is a way to do this?

Thanks,
Paul
--
Paul Kraemer

 




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 03:09 PM.


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