Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Locking All But 1 Field
Michel Paul 
      
5 years ago
I have just used the technic shown in the tech help about "Microsoft Access Disallow Editing - Main Menu, Startup Form, Password, InputBox, AllowEdits, More!"

Now That I locked the form from editing the Search drop down list that I have setup to look to find different customers is also locked.

Any way to unlock the drop down list while keeping the rest of the form locked up?
Richard Rost  @Reply  
          
5 years ago
Yes, but it's a lot more complex. You essentially would have to leave the form UNLOCKED and lock all of the individual controls that you DON'T want to be edited. In the Extended Cut of this TechHelp video I show you how to loop through all of the controls on a form in VBA. You could use that technique to lock or unlock the ones you care about: Progress Bar 2.
Michel Paul OP  @Reply  
      
5 years ago
Thank you for the advise, Since I have 96 controls on the form it would be a lot of work. I was wondering if creating a separate form to put the Search combo box that would not be lock would allow none administrator users to use the search function to locate the correct customer out of about 170 customers in the database. Do you think it is feasible?
Richard Rost  @Reply  
          
5 years ago
You could do that, or like the Progress Bar 2 video shows, just set the TAG property for the controls you want to lock/unlock to something like "LockMe" and then use a loop. Yeah, you have to set that property in 96 controls ONCE, but then you never have to do it again.
Michel Paul OP  @Reply  
      
5 years ago
Thank you, I will do as you suggested.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/7/2026 10:52:55 PM. PLT: 0s