Updateable Query

J

JimS

I have a subform that displays budget rows. It's keyed on Project and
Discipline IDs. It displays % complete and Budgeted Hours in a simple
datasheet. Worked fine. % comlete and Budget hours were both updateable.

I added a couple fields to the subform's data source with a left join to an
aggregate query. I don't want to update the new fields, just the old ones.
but now the query appears not to be updateable. So, I changed the extra
columns to be drawn from the aggregate query using a domain aggregate
function (dlookup). Query is now updateable, but very very slow.

Ideas?
 
G

Golfinray

The first thing I try is to go into that query, change it to a make-table
query, run it and make a table out of those aggregate tables, and then use
the table to either make a new query or use as the recordsource. Aggregate
queries always are slow until I do that.
 
J

John W. Vinson

The first thing I try is to go into that query, change it to a make-table
query, run it and make a table out of those aggregate tables, and then use
the table to either make a new query or use as the recordsource. Aggregate
queries always are slow until I do that.

ummmm...

and your data is always out of date and incorrect if you use the MakeTable
query, until you run the MakeTable query again... which is *much slower* than
the aggregate query!!!
 
J

John W. Vinson

I have a subform that displays budget rows. It's keyed on Project and
Discipline IDs. It displays % complete and Budgeted Hours in a simple
datasheet. Worked fine. % comlete and Budget hours were both updateable.

I added a couple fields to the subform's data source with a left join to an
aggregate query. I don't want to update the new fields, just the old ones.
but now the query appears not to be updateable. So, I changed the extra
columns to be drawn from the aggregate query using a domain aggregate
function (dlookup). Query is now updateable, but very very slow.

Ideas?

No aggregate query, nor any query including an aggregate query, is ever
updateable. Could you perhaps display the totals from the aggregate query in a
separete subform?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top