Trying to update a table with a currentdb.execute UPDATE but I cant figure out the syntax....
Table = [Users], Yes/No Field [Darkmode] , and WHERE field [Users] . THis is what I am trying but does not work:
Table = [Users], Yes/No Field [Darkmode] , and WHERE field [Users] . THis is what I am trying but does not work:
SQL:
CurrentDb.Execute "UPDATE Users " & _
"SET DarkMode = " & 0 & ", " & _
"WHERE Users = " & CurrentUser() & ";", _
dbFailOnError