In a form I have created a button that will perform an update query and I want to have the query in VBA code instead of creating a special query for a simple function. How do I structure the following SQL statement in VBA code in the On Click event?
UPDATE Badges SET Badges.Status = "a"
WHERE (((Badges.Status)="c"));