K
kissybean
Hi,
I am trying to do an update query and getting the message "Operation must use
an updateable query"
I'm running the following SQL:
UPDATE Quarters2 set [Admits 1000] = (([Admits]*12000)/(select Sum([Members])
from [Member Data] where [Member Data].[LOB2] = [Quarters2].[Product Line
Code] and [Member Data].[Year] = [Quarters2].[Service Year] and [Member Data]
..[State] = [Quarters2].[Employer Situs]))
WHERE Quarters2.[Qtr] = 'Y' ;
From preliminary research I am reading that I can't use aggregate functions
in the update query. Some people say to use the Domain functions like DSum ..
.. can I do that? if so, the last parameter of the function is conditions...
can I have more than one? I have several where & and statements in the
subquery.
Any help how to re-organize this into a working query would be great!
Thanks!
I am trying to do an update query and getting the message "Operation must use
an updateable query"
I'm running the following SQL:
UPDATE Quarters2 set [Admits 1000] = (([Admits]*12000)/(select Sum([Members])
from [Member Data] where [Member Data].[LOB2] = [Quarters2].[Product Line
Code] and [Member Data].[Year] = [Quarters2].[Service Year] and [Member Data]
..[State] = [Quarters2].[Employer Situs]))
WHERE Quarters2.[Qtr] = 'Y' ;
From preliminary research I am reading that I can't use aggregate functions
in the update query. Some people say to use the Domain functions like DSum ..
.. can I do that? if so, the last parameter of the function is conditions...
can I have more than one? I have several where & and statements in the
subquery.
Any help how to re-organize this into a working query would be great!
Thanks!