E
Edrick larkin
I am writing a database to keep track of program licenses. I have a service
table and a user/serv table. I want to update service.total_users so show
the number of installs of each program in the user/serv table (which simply
joins users with services). This is the following query I wrote, but it
gives me the error “Operation must use an updatable query.†Thanks for your
help. Edrick
UPDATE service SET service.total_users =
(SELECT distinct Count([user/serv].user_serv_key) FROM [user/serv]
WHERE service.service_key = [user/serv].user_serv_key);
table and a user/serv table. I want to update service.total_users so show
the number of installs of each program in the user/serv table (which simply
joins users with services). This is the following query I wrote, but it
gives me the error “Operation must use an updatable query.†Thanks for your
help. Edrick
UPDATE service SET service.total_users =
(SELECT distinct Count([user/serv].user_serv_key) FROM [user/serv]
WHERE service.service_key = [user/serv].user_serv_key);