Solved

access 2007 tables question

Posted on 2013-02-07
4
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 50

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

726 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