Access Lock Fields in Table Design View

Posted on 2009-07-09
Medium Priority
Last Modified: 2013-11-29
Is there way to lock fields in table design view so that the entered values cannot be changed.

Question by:tahirih
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 200 total points
ID: 24819326
Lock the form controls bound to the field.

Accepted Solution

neil_squires earned 600 total points
ID: 24819810
It sounds like you are trying to duplicate functionality similar to an Excel where you can lock the fields and view them in a grid fashion.  Unfortunately, while an access table may look like an excel sheet, it behaves differently.

Best practices are to use a form to view/update the data in an Access database.  You can lock the fields a couple of different ways.  The simplest is to make the fields locked or disabled.  If you want the same look as Excel, you can also run a form in Data View rather than formview.  This will look similar to the table layout and is harder to work with than form view, but is doable.

LVL 59

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 600 total points
ID: 24822554
<<Is there way to lock fields in table design view so that the entered values cannot be changed.>>
  You'd have to user user level security to secure the table design.  However ULS is a bit complex and you should understand it fully before trying to implement it.  Also be aware that the feature has been dropped starting with Access 2007.
 You can download the Access Security FAQ here:
and Joan Wild keeps a good page on Access security:
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 600 total points
ID: 24824313

Or, depending on what the user should (or should not) be doing, you can simply open the form in "Read Only" mode:

  DoCmd.OpenForm "YourFormName", , , , acFormReadOnly

This will save you the trouble of figuring out which fields to Lock/Enable/Disable and when.


LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 200 total points
ID: 24824387
yeah you could do that if you want to lock *ALL* the fields/controls, but it guess that is not the case here.

Author Comment

ID: 24824804
Sorry everyone for the delayed response, I am not getting e-mail notification that answers have been posted.


Author Closing Comment

ID: 31601861

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question