Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot edit a field in a query

Status
Not open for further replies.

maupiti

Programmer
Oct 27, 2003
240
US
Access 2003

I have a query that are nested four level deeps.
In each of the query properties the "Recordset Type:"
In the Query Property is set to: Dynaset (Inconsistent Updates).

When I created two very simple table, and run a single query
with the "Recordset Type:" Dynaset (Inconsistent Updates),
I can edit the field.

///////////////////////////////////////////

After the query is run, I tried to edit a field, but
it won 't let me.

Query_4
Query_3
Query_2
Query_1
 
The usual cause of this is that your query is a non-updatable query. dbInconsistant just allows you to edit fields that violate the join condition(s) of the query. It is however necessary that the query be structured such that a unique record and field in every base table involved can be identified. If it cannot then Access can't determine which fields to update and the query becomes non-updatable.

Queries that involve outer joins, cross-joins, computed fields and grouping are usually not updatable. Similarly, queries that do not include primary key fields are usually not updatable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top