Hi, am new to VBA and am trying to alter the following line of code where DiscountPrices.Code is not ‘w02’ OR ‘s03′, but am getting tied up in my brackets!! Can anyone help???
dbs.Execute “UPDATE tblDiscountPrices SET tblDiscountPrices.PriceSC = ([Price]-20)+[Tax] WHERE (((tblDiscountPrices.DiscountDepart)=’MON’) AND ((tblDiscountPrices.Price)>=199) AND (Not (tblDiscountPrices.Code)=’W02′));”