I have a table I am trying to do some mass updates to. It has an ItemID field and a Yes/No field. I am trying to set the Yesy/No field to Yes where ItemID is one os several values. The update query runs with no errors but doesn't affect the table at all. Here is my code:
I must be missing something simple. Can someone please point it out to me? Thanks, Ken.
Code:
UPDATE AgentItem SET AgentItem.Use = Yes
WHERE ((("ItemID") Between "1" And "12" Or ("ItemID") Between "21" And "25" Or ("ItemID") Between "28" And "32" Or ("ItemID") Between "34" And "36" Or ("ItemID") Between "39" And "47" Or ("ItemID") Between "51" And "55" Or ("ItemID")="67" Or ("ItemID")="71" Or ("ItemID") Between "75" And "95"));
I must be missing something simple. Can someone please point it out to me? Thanks, Ken.