Solved

access 2007 tables question

Posted on 2013-02-07
4
213 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

707 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

10 Experts available now in Live!

Get 1:1 Help Now