im trying to convert code from access to Visual studio dataset query but its not recognizing my LIKE statement
SELECT Staff.Deactivate, Staff.Employee, IIf([Position] Like "*O*","Opener") AS [Open], Staff.Rate1, Staff.Rate2, Staff.Salary, Staff.Availability
FROM Staff
WHERE (((Staff.Deactivate)=False));
SELECT Staff.Deactivate, Staff.Employee, IIf([Position] Like "*O*","Opener") AS [Open], Staff.Rate1, Staff.Rate2, Staff.Salary, Staff.Availability
FROM Staff
WHERE (((Staff.Deactivate)=False));