473,387 Members | 1,515 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,387 software developers and data experts.

Making list box editable after unchecking "Allow Full Menus" in Access options

40
Hi guys.

On a pilot run, a user pointed out to me that they could not add items on a list box. Usually, I set my list box Limit To List data control to "No" and and Allow Value List Edits to "Yes", to allow the users control over the list items. However, these options are unavailable when I uncheck Allow Full Menus in Access Options (A practice that helps keep users from other Access menu items that would cause their curious minds to fiddle with some functions e.g. "unintentionally" editing table relationships).

The only way the List Boxes work is if the Allow Full Menus option is checked.

Is there a workaround on this? I only know of creating separate forms to contain and edit list items, but the List Box is an easier approach.
Jul 14 '15 #1
4 1439
Rabbit
12,516 Expert Mod 8TB
You could create buttons and put them near the listbox and code those functions yourself.
Jul 14 '15 #2
Shem K
40
Hi Rabbit. Thank you very much for your suggestion.

That's a viable option. However, I'm at the very shallow end when it comes to writing VBA. I however managed to look into another option.

I followed the procedure in the MS Access 2007 Help article "Customize the Ribbon" and managed to hide the crucial tabs while my list boxes remain editable.

Please see Microsoft's link:
https://support.office.com/en-sg/art...a-4e25bc9413de

Hope this helps anyone in a more or less similar pickle.

Kind regards,
Jul 16 '15 #3
zmbd
5,501 Expert Mod 4TB
Shem did you try anything like this:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.     With Me.Combo3
  3.         .AllowValueListEdits = True
  4.         .LimitToList = False
  5.     End With
  6. End Sub 
Where [Combo3] would be the name of your control. This should enable your users to edit and add to the listbox. However, I can't think of a reason to ever let an end user have free-range of a listbox... I'm sure there's a good reason. I have a double click event that opens an edit form to edit or add items to the underlying recordsource so that I can validate the entry.
Jul 16 '15 #4
Shem K
40
Hi Z.

Yes I have, but not in code. I used set the controls on Data tab of the Properties sheet of the list box to "Yes" for AllowValueListEdits and "No" for LimitToList.

I have a few list boxes that require editing by opening a form that feeds into their record source. In this case, Client Name is edited at the List of Clients form. The list boxes that I opted out of this have a less significant value, and I was trying to minimise the number of tables in the database, for instance, a list box for Currency that denotes the currency of the monetary (numeric) value of a record. I wanted to use data edit forms as a last option.
Jul 17 '15 #5

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

Similar topics

15
by: dixie | last post by:
I have a command to open the Access Options dialogue from code: DoCmd.RunCommand acCmdOptions It also opens the Database Window behind it. Is it possible to open the Options without having...
4
by: svdh2 | last post by:
Dear All, I have lately strugled more and more with Access, what started as a simple database has brought me to the fundaments of Access. I need to transfer fields from various tables to a...
1
by: mlarson | last post by:
Hello, I'm working on a page that dynamically creates listboxes and the "options" that are added to the listbox. A user can then click on buttons to either add or delete the "options" from one...
5
by: fly_mo | last post by:
Hello All, I have an app that has been rock solid (sofar) installed using Sagekey scripts etc and is currently a 2002/3 file. However client is upgrading to 2007 (so I have setup a test machine...
1
by: ramyasarangapani | last post by:
Hi, i have a issue in html.in a table,initially all the controls should be disabled.on click of edit link in each row,the respective row controls should be editable. i have not used forms.pls...
3
by: evenlater | last post by:
I'm building an application using A2K7 and I need to be able to hide the navigation pane from my users. That's easy. I just hide it using Access options and then disable special keys so they can't...
1
by: chrisdev3 | last post by:
How can I open the Access Options Window from "Office Button" in MSAccess 2007 ? I have a runtime of MSAccess and I need to Add New Location in Trusted Locations tab. Thanks a lot in advance.
0
by: parez | last post by:
Hi, I have a setup and deployment project. I am using vs 2008. During the setup process, I want to give full security access to run a network exe. How do i do it? I can create a batch...
3
by: Mpavl | last post by:
Does anybody know how to make MS Access 2003 always drop full menus but I have only Runtime Access 2003 and I have not got set Office 2003.Best is if change registy.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.