W
W Dean
Hi,
Can anyone tell in why this won't work or what the correct syntax should be?
UPDATE Calender
SET
Calender.Approved = ([aUserName] IN (SELECT Users.UserName FROM Users WHERE
(Users.UserName=[aUserName]) AND (Users.AccessLevel = 1))) AND
([aApproved]);
Basically, I want to set the value of Approved, based on whether or not the
supplied username is in the administrators group, if not approved is set to
false, if yes its set to the boolean value contained in [aApproved]
I get the error message 'query not updateable'
W Dean
Can anyone tell in why this won't work or what the correct syntax should be?
UPDATE Calender
SET
Calender.Approved = ([aUserName] IN (SELECT Users.UserName FROM Users WHERE
(Users.UserName=[aUserName]) AND (Users.AccessLevel = 1))) AND
([aApproved]);
Basically, I want to set the value of Approved, based on whether or not the
supplied username is in the administrators group, if not approved is set to
false, if yes its set to the boolean value contained in [aApproved]
I get the error message 'query not updateable'
W Dean