| | |
|
|
|
Restrict input in combo box |
| message from =?Utf-8?B?QW5uYQ==?= on 28 May 2004 |
I want to restrict user to type in combo box but must select from the list. Appreciate if anyone can help me. Thanks.
|
| Nikos Yannacopoulos replied to =?Utf-8?B?QW5uYQ==?= on 28 May 2004 |
Anna,
Open your form in design view, right click on the combo box and select
properties. On the Data tab of the Properties window, locate property Limit
to List, and change its value to Yes.
HTH,
Nikos
"Anna" <anonymous@discussions.microsoft.com> wrote in message
news:A8C85319-9F75-4EBC-9AF3-8417FED028F4@microsoft.com...
list. Appreciate if anyone can help me. Thanks.
|
| =?Utf-8?B?QW5uYQ==?= replied to Nikos Yannacopoulos on 28 May 2004 |
Thanks for the suggestion. I tried but still it allows me to type. Is it possible to restrict from typing but just choose from the list?
|
| Rick Brandt replied to =?Utf-8?B?QW5uYQ==?= on 28 May 2004 |
it possible to restrict from typing but just choose from the list?
No.
|
| Rick Brandt replied to Rick Brandt on 28 May 2004 |
I take that back. You can put the following in the KeyPress event of the
ComboBox.
KeyAscii = 0
All keystrokes will then be ignored. They could still paste into the
control, but I don't know if that would be an issue.
|
|
Archived message: Restrict input in combo box (MS Access)