-----Original Message-----
Hi,
Posting the SQL text of the query may help.
A query with any of the following is not updateable (just the most
frequent causes):
- An aggregate in the SELECT clause (which includes, for sure,
crosstab). An aggregate is any among the following: COUNT, SUM, MIN, MAX,
LAST, FIRST, AVG, SDEV.
- A non updateable query/virtual table in the FROM clause
- A UNION query
- An implicit inner join between tables in the WHERE clause rather
than an explicit INNER JOIN in the FROM clause. As example, "Product By
Category", in Northwind, is updateable,
SELECT Categories.CategoryName, Products.ProductName,
Products.QuantityPerUnit, Products.UnitsInStock, Products.Discontinued
FROM Categories INNER JOIN Products ON Categories.CategoryID =
Products.CategoryID
WHERE (Products.Discontinued<>Yes)
ORDER BY Categories.CategoryName, Products.ProductName;
but change it to its equivalent:
SELECT Categories.CategoryName, Products.ProductName,
Products.QuantityPerUnit, Products.UnitsInStock, Products.Discontinued
FROM Categories , Products
WHERE (Categories.CategoryID = Products.CategoryID) AND
(Products.Discontinued<>Yes)
ORDER BY Categories.CategoryName, Products.ProductName;
and it turns not-updateable.
Hoping it may help,
Vanderghast, Access MVP
.