M
Mike Lempel
I have a Totals Query that calculates values in a column that I would like
to use to update a field in an existing table. I create a new Update query
containing a join between the Table and the Totals Query, and specify the
field from the Totals query as the the update value for the Table field.
This method works fine if the Query is a Select Query. But with the Totals
Query I get the message: "Operation must use an updatable query." The
Update query won't run even though I'm not attempting to update anything in
the Totals query.
The way I've gotten around this in the past is to first store the results of
the Totals Query in a temporary table, and then run an Update Query which
contains a join between the two tables. All this gets done in a VBA module.
Is there another (hopefully better) way to do this?
Thanks very much for any help or advice.
Mike
to use to update a field in an existing table. I create a new Update query
containing a join between the Table and the Totals Query, and specify the
field from the Totals query as the the update value for the Table field.
This method works fine if the Query is a Select Query. But with the Totals
Query I get the message: "Operation must use an updatable query." The
Update query won't run even though I'm not attempting to update anything in
the Totals query.
The way I've gotten around this in the past is to first store the results of
the Totals Query in a temporary table, and then run an Update Query which
contains a join between the two tables. All this gets done in a VBA module.
Is there another (hopefully better) way to do this?
Thanks very much for any help or advice.
Mike