473,321 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

How to get rid off the ("Edit List Items")icon displaying under combobox

Hi friends,

The problem which I want to rectify is really small but it seems like I am not able to find the solution for it.

The scenario is like:

I have a form with a bound combobox. Now that combobox displays EmployeeId based on the query fired. But the problem is that user should not be able to edit the combobox details.

What is happening:
When the user clicks on the combobox the user is able to see an icon "Edit List Item", which lead to the form where we can add users. Which should not happen, as per the permissions.

What approaches I used:
I tried setting the Enabled property as "No", but than whenever the user presses "Save & New" the Combobox value is also set as null. As a result the user have to reach out the form every time a new entry has to be made, which is not feasible . ( I tried using Combobox.ListIndex = 0, but nothing helped me out).

Also, Locked and Auto Expand property are set to "No".

Please find the attachment for clear idea.

I hope I am making some sense.

Looking forward for a solution.

Thanks in advance.
Attached Files
File Type: docx Combobox.docx (109.0 KB, 342 views)
May 15 '15 #1

✓ answered by Seth Schrock

Try setting the ComboBox's Limit To List Property to Yes and the Allow Value List Edits to No and clear the List Items Edit Form to nothing.

2 4643
Seth Schrock
2,965 Expert 2GB
Try setting the ComboBox's Limit To List Property to Yes and the Allow Value List Edits to No and clear the List Items Edit Form to nothing.
May 15 '15 #2
Oh great!

I found that List Items Edit Form was not null due to which the form was accessible. Else everything was same.

Thanks a lot :D
May 15 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Deepa | last post by:
Hi Am doing a web app which has a datagrid with template columns. One of the columns has dropdowns for each row. I also have the EditCommandColumn. The problem am facing is I just see the last...
3
by: Anjola | last post by:
The program asks the user to enter the inegers (up to 30) and display their sum, by using List.h and then List.cpp. Help please.
0
by: polaris431 | last post by:
I would like to have a combobox control that when clicked, displays a DataGridView in-place of the normal dropdown list. I want it to be a DataGridView with editing capabilities. The DataGridView...
2
by: max | last post by:
Hello, I have a VS2005 framework and ado.net. I have an access db with two tables: 1) Patients; 2) Doctors. The 'Patients table is already filled by a long list of records (coming from an old...
2
by: chittaranjan sahoo | last post by:
hi, i want to connect two combo boxes in sucha way that when a value in first combo is selected, in the second combo,it should show only the values related to one selected in first combo box. the...
4
by: Panna | last post by:
Hey there I am using phpMyAdmin and MySQL to develop a dbase application. I have a dropdown menu on one of the pages which gets populated automatically with data from a table in the database....
0
by: sixths3ns3 | last post by:
My DataGridView has two columns. Combobox Column 2 displays list based on Combobox Column 1 selected value. The code below works fine when I select a value on Column 1, and select a value on Column...
2
by: Rosy | last post by:
I have a database shared across a network. On all terminals except one, the database performs perfectly. The one oddball machine won't display drop down lists. The list opens but is empty. I am...
19
by: billa856 | last post by:
Hi, I have to use the table(PRODUCTION) already generated in MS Access in which all fields are of TEXT type.fields like (orderdate,palletno,customercode,itemno,pono,carto n,pcs,totalquantity)Now i...
1
by: Andrus | last post by:
I need to enter null value from combobox to business object property. My combobox datasource does not contain ValueMember with null value. So I tried to create combobox which stores null to bound...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.