Solved

access 2007 tables question

Posted on 2013-02-07
4
214 Views
Last Modified: 2013-02-08
Hi. Simple question.

Can you lockout some columns in a table or do you have tocreate a form or something else.
I have a table where the information is put there by a query and I only want two fields to be updated. The other fields are not to be touched.
0
Comment
Question by:PawloA
4 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 38865099
You can only do this in a form.
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 38865291
>I only want two fields to be updated.
Another possibility is to write a query that has only those two fields, then expose the query to the user for whatever manipulation they need to do.

peter is correct in that tables don't have 'column-lock' abilities.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38865509
Yes,

Use the form wizard to make the form
set the Form to be ("Datasheet") to make it look like a query.

Set the Locked property of the control
You can also set the "enabled" property of the control to: No
...so that they cannot even click into the field/control...
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 38867351
> I have a table where the information is put there by a query and
> I only want two fields to be updated.

Then adjust your query to update these two fields only.

/gustav
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now