Re: Dropdown List
- From: "Martureo Bob" <bob@xxxxxxxxxxxx>
- Date: Fri, 6 Jan 2006 12:40:57 -0800
Thanks --- I already have the "limit to list" property set --- that's what's
giving the current error message. But I never thought of turning off
autoexpand and using a keyup event! That sound like something cool to try
out! Bob.
"freakazeud" <freakazeud@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FA633197-34B9-4E4B-BE79-12C69A468CC0@xxxxxxxxxxxxxxxx
> Hi,
> A combobox will always allow a user to type data in it.
> You can set the limit to list property so they can just type values which
> are in the list. Additionally you can turn of autoexpand so values do not
> come up when typing. If you really want to eliminate the typing then add
some
> code on the keyup event of the combobox:
>
> MsgBox("Can't type here!")
> Me.YourCombo = null
>
> HTH
> Good luck
>
> --
> Oliver
> Admin Specialist & Computer Science Major @ UMD - Go Terps - :)
> http://www.oli-s.de
>
>
> "Martureo Bob" wrote:
>
> > Sorry if this it a duplicate post --- I cannot find the original or any
> > responses....
> >
> > Using A2K, I want to create a simple unbound dropdown list on a form
giving
> > the user specific choices, and requiring the selection of one of the
> > pre-determined choices.
> >
> > I set the property to only permit the user to select items on the list,
but
> > Access still allows the user to type into the control --- and get an
error
> > message back if the result is not in the list.
> >
> > It's just that this dosn't seem very "professional." If I'm requiring a
> > choice from a predetermined set of values, how can I set things up so
that
> > the only thing the user can do is highlight an entry and click it (but
not
> > type into it the control and possibly get an error).
> >
> > BTW, I don't have enough room for a listbox.
> >
> > Thanks!
> >
> > Bob.
> >
> >
> >
.
- Follow-Ups:
- Re: Dropdown List
- From: Klatuu
- Re: Dropdown List
- References:
- Dropdown List
- From: Martureo Bob
- Dropdown List
- Prev by Date: RE: Delete record on list box
- Next by Date: Re: Dropdown List
- Previous by thread: Dropdown List
- Next by thread: Re: Dropdown List
- Index(es):
Relevant Pages
|