Combo Box Help

I have a combo box on a form that I want the content to be read only. If any
changes it should be done in the table. How can I accomplish this task? I
tried to set the locked property to true, it didn't work.
Kissi Asiedu [ Sa, 29 Dezember 2007 17:41 ] [ ID #1895687 ]

Re: Combo Box Help

"Kissi Asiedu" <kissi5559 [at] aol.com> wrote in message
news:2Nudj.29349$C86.17027 [at] fe18.usenetserver.com...
>I have a combo box on a form that I want the content to be read only. If
>any changes it should be done in the table. How can I accomplish this task?
>I tried to set the locked property to true, it didn't work.

Set Locked to True and Enabled to False.
Stuart McCall [ Sa, 29 Dezember 2007 17:58 ] [ ID #1895689 ]

Re: Combo Box Help

Stuart McCall wrote:

> "Kissi Asiedu" <kissi5559 [at] aol.com> wrote in message
> news:2Nudj.29349$C86.17027 [at] fe18.usenetserver.com...
>
>>I have a combo box on a form that I want the content to be read only. If
>>any changes it should be done in the table. How can I accomplish this task?
>>I tried to set the locked property to true, it didn't work.
>
>
> Set Locked to True and Enabled to False.
>

That certainly will stop all changes on the combobox, to the point
there'd be no dropdown. But if I set a combobox locked status to Yes,
Enabled = Yes, even in verson A97, I can get the dropdown and scroll
thru the rosw I can't change the value.

I think Kissi's doing something wrong.

No Doctoring
http://www.youtube.com/watch?v=Ch4tSwP2_4M
Salad [ Sa, 29 Dezember 2007 22:41 ] [ ID #1895692 ]

Re: Combo Box Help

"Salad" <oil [at] vinegar.com> wrote in message
news:13ndfo0c5uren31 [at] corp.supernews.com...
> Stuart McCall wrote:
>
>> "Kissi Asiedu" <kissi5559 [at] aol.com> wrote in message
>> news:2Nudj.29349$C86.17027 [at] fe18.usenetserver.com...
>>
>>>I have a combo box on a form that I want the content to be read only. If
>>>any changes it should be done in the table. How can I accomplish this
>>>task? I tried to set the locked property to true, it didn't work.
>>
>>
>> Set Locked to True and Enabled to False.
>>
>
> That certainly will stop all changes on the combobox, to the point there'd
> be no dropdown. But if I set a combobox locked status to Yes, Enabled =
> Yes, even in verson A97, I can get the dropdown and scroll thru the rosw I
> can't change the value.
>
> I think Kissi's doing something wrong.
>
> No Doctoring
> http://www.youtube.com/watch?v=Ch4tSwP2_4M

I think you're right. Sometimes I answer far too quick. But heck I enjoyed
the youtube clip, so some good came of it :)
Stuart McCall [ Sa, 29 Dezember 2007 23:01 ] [ ID #1895693 ]

Re: Combo Box Help

"Stuart McCall" <smccall [at] myunrealbox.com> wrote in message
news:fl5ub6$2bk$1$8300dec7 [at] news.demon.co.uk...
> "Kissi Asiedu" <kissi5559 [at] aol.com> wrote in message
> news:2Nudj.29349$C86.17027 [at] fe18.usenetserver.com...
>>I have a combo box on a form that I want the content to be read only. If
>>any changes it should be done in the table. How can I accomplish this
>>task? I tried to set the locked property to true, it didn't work.
>
> Set Locked to True and Enabled to False.

Sorry Kissi. Please ignore that last post. As Salad says, it'll only make
matters worse. Locked = True certainly ought to do the trick.

Perhaps you need to be more specific. How are you setting the locked
property? In code? In a macro? In the property sheet in design view?

When you say it didn't work, what behaviour did you observe and what did you
expect to happen?
Stuart McCall [ Sa, 29 Dezember 2007 23:05 ] [ ID #1895694 ]

Re: Combo Box Help

On Dec 29, 11:41 am, "Kissi Asiedu" <kissi5... [at] aol.com> wrote:
> I have a combo box on a form that I want the content to be read only. If any
> changes it should be done in the table. How can I accomplish this task? I
> tried to set the locked property to true, it didn't work.

You could try that again.
lyle [ Sa, 29 Dezember 2007 23:30 ] [ ID #1895695 ]

Re: Combo Box Help

Stuart McCall a écrit :
> "Stuart McCall" <smccall [at] myunrealbox.com> wrote in message
> news:fl5ub6$2bk$1$8300dec7 [at] news.demon.co.uk...
>> "Kissi Asiedu" <kissi5559 [at] aol.com> wrote in message
>> news:2Nudj.29349$C86.17027 [at] fe18.usenetserver.com...
>>> I have a combo box on a form that I want the content to be read only. If
>>> any changes it should be done in the table. How can I accomplish this
>>> task? I tried to set the locked property to true, it didn't work.
>> Set Locked to True and Enabled to False.
>
> Sorry Kissi. Please ignore that last post. As Salad says, it'll only make
> matters worse. Locked = True certainly ought to do the trick.
>
> Perhaps you need to be more specific. How are you setting the locked
> property? In code? In a macro? In the property sheet in design view?
>
> When you say it didn't work, what behaviour did you observe and what did you
> expect to happen?
>
>
Please excuse my bad English.
I believe he wants something like "limit to the list" (in French :
limiter à liste).

--
p-reine
p-reine [ Sa, 29 Dezember 2007 23:40 ] [ ID #1895696 ]

Re: Combo Box Help

On Sat, 29 Dec 2007 11:41:33 -0500, Kissi Asiedu wrote:

> I have a combo box on a form that I want the content to be read only. If
> any changes it should be done in the table. How can I accomplish this
> task? I tried to set the locked property to true, it didn't work.

If you don't want someone to add to the list from the combo box, only
select from the list, then set the 'Limit to List' property of the combo
box to 'True.'
Don Calloway [ So, 30 Dezember 2007 03:11 ] [ ID #1896140 ]

Re: Combo Box Help

Thanks everyone, setting the Limit to List worked well for me.
"Don Calloway" <drcalloway [at] verizon.net> wrote in message
news:b7Ddj.490$jX4.488 [at] trnddc07...
> On Sat, 29 Dec 2007 11:41:33 -0500, Kissi Asiedu wrote:
>
>> I have a combo box on a form that I want the content to be read only. If
>> any changes it should be done in the table. How can I accomplish this
>> task? I tried to set the locked property to true, it didn't work.
>
> If you don't want someone to add to the list from the combo box, only
> select from the list, then set the 'Limit to List' property of the combo
> box to 'True.'
Kissi Asiedu [ So, 30 Dezember 2007 19:04 ] [ ID #1896156 ]
Datenbanken » comp.databases.ms-access » Combo Box Help

Vorheriges Thema: Sorting with DIR function
Nächstes Thema: Opening form at a new record