473,503 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.

Dec 29 '07 #1
8 1810
"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
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
"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

"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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2152
by: SoftWhiteDelgiht | last post by:
Help me. I am obviously stupid! :-) I am just starting out with VB.Net and am trying to do a simple master/detail form with a SqlServer backend. I have created a combo box which is to populate with...
3
3622
by: hmiller | last post by:
Hey everyone, I am having a hell of a time trying to set this menu system up. Here's what I'm trying to do. Combo Box One; is populated by names under properties "row source" "Phase 1"...
9
6741
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
5
3682
by: jjyconsulting | last post by:
Newbie needing some help. I have a tblParticipants. The fields include gender, education_level, income, occupation etc., I'm trying to create a form where a user can run a query from the form and...
7
1833
by: Ausclad | last post by:
Ok, ill try again..... It seems fairly simple. I have two combo boxes in a datagrid. The datagrid is bound to a a table in a dataset. The two combo boxes are bound to a single data table...
3
3633
by: sparks | last post by:
I have a combo box that when you go to the next combo box it is filtered based on the value in the previous one. so if combo box 1 has fred as its value then combo box 2 has 1 2 3 for values....
2
1441
by: jafarsibtain | last post by:
hi.. I am creating a form where there are two combo Boxes (drop Down) > Program_Combo_box > Course_Code_Combo in the Program Combo Box there are five items in the list > 1. BIT 2.BCA 3....
2
3130
by: Sid | last post by:
I need some help in setting up Access combo box. I am using three comboboxes in my form. Comb Box 1, Combo Box 2, Combo Box 3. The row source for each of the combo box is a seperate table. ...
4
2353
by: Dave | last post by:
I wasn't sure how to search for previous posts about this, it felt real specific. Ok so here's the database & problem: I have 4 combo boxes: cboServer, cboPolicy, cboDB, and cboApplication. ...
6
1862
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help with a combo box and this same code works on my first tab with a combo box. The error or problem i have is this code causes an index out of range error when i run it on my second combo...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.