• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

access 2007 tables question

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
PawloA
Asked:
PawloA
1 Solution
 
peter57rCommented:
You can only do this in a form.
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
>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
 
Jeffrey CoachmanMIS LiasonCommented:
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
 
Gustav BrockCIOCommented:
> 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
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

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now