Combo Box Help

Combo Box Help

am 29.12.2007 17:41:33 von Kissi Asiedu

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.

Re: Combo Box Help

am 29.12.2007 17:58:11 von Stuart McCall

"Kissi Asiedu" wrote in message
news:2Nudj.29349$C86.17027@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.

Re: Combo Box Help

am 29.12.2007 22:41:19 von Salad

Stuart McCall wrote:

> "Kissi Asiedu" wrote in message
> news:2Nudj.29349$C86.17027@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

Re: Combo Box Help

am 29.12.2007 23:01:33 von Stuart McCall

"Salad" wrote in message
news:13ndfo0c5uren31@corp.supernews.com...
> Stuart McCall wrote:
>
>> "Kissi Asiedu" wrote in message
>> news:2Nudj.29349$C86.17027@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 :)

Re: Combo Box Help

am 29.12.2007 23:05:50 von Stuart McCall

"Stuart McCall" wrote in message
news:fl5ub6$2bk$1$8300dec7@news.demon.co.uk...
> "Kissi Asiedu" wrote in message
> news:2Nudj.29349$C86.17027@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?

Re: Combo Box Help

am 29.12.2007 23:30:45 von lyle

On Dec 29, 11:41 am, "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.

You could try that again.

Re: Combo Box Help

am 29.12.2007 23:40:54 von p-reine

Stuart McCall a écrit :
> "Stuart McCall" wrote in message
> news:fl5ub6$2bk$1$8300dec7@news.demon.co.uk...
>> "Kissi Asiedu" wrote in message
>> news:2Nudj.29349$C86.17027@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

Re: Combo Box Help

am 30.12.2007 03:11:19 von Don Calloway

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.'

Re: Combo Box Help

am 30.12.2007 19:04:22 von Kissi Asiedu

Thanks everyone, setting the Limit to List worked well for me.
"Don Calloway" wrote in message
news:b7Ddj.490$jX4.488@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.'