By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

Combo Box Help

P: n/a
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.

Dec 29 '07 #1
Share this Question
Share on Google+
8 Replies


P: n/a
"Kissi Asiedu" <ki*******@aol.comwrote in message
news:2N*******************@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.
Dec 29 '07 #2

P: n/a
Stuart McCall wrote:
"Kissi Asiedu" <ki*******@aol.comwrote in message
news:2N*******************@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
Dec 29 '07 #3

P: n/a
"Salad" <oi*@vinegar.comwrote in message
news:13*************@corp.supernews.com...
Stuart McCall wrote:
>"Kissi Asiedu" <ki*******@aol.comwrote in message
news:2N*******************@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 :)
Dec 29 '07 #4

P: n/a

"Stuart McCall" <sm*****@myunrealbox.comwrote in message
news:fl*******************@news.demon.co.uk...
"Kissi Asiedu" <ki*******@aol.comwrote in message
news:2N*******************@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?
Dec 29 '07 #5

P: n/a
On Dec 29, 11:41 am, "Kissi Asiedu" <kissi5...@aol.comwrote:
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.
Dec 29 '07 #6

P: n/a
Stuart McCall a écrit :
"Stuart McCall" <sm*****@myunrealbox.comwrote in message
news:fl*******************@news.demon.co.uk...
>"Kissi Asiedu" <ki*******@aol.comwrote in message
news:2N*******************@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
Dec 29 '07 #7

P: n/a
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.'
Dec 30 '07 #8

P: n/a
Thanks everyone, setting the Limit to List worked well for me.
"Don Calloway" <dr********@verizon.netwrote 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.'


Dec 30 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.