Hi, simple question, simple! How to change true into false or false into true in access table. I try to update record with false into true. How ???
1 try => parametarSQL = "UPDATE Vrsteprojekata SET dostupan = '" + false + "' WHERE id = '" + id + "'"; -> nothing....
2. try => parametarSQL = "UPDATE Vrsteprojekata SET dostupan = false WHERE id = '" + id + "'"; -> nothing....
3. try => parametarSQL = "UPDATE Vrsteprojekata SET dostupan = 0 WHERE id = '" + id + "'"; -> nothing....
Loading

GoGi FeboPosted Oct 30, 2014, 10:30 PM
VulpesPosted Oct 30, 2014, 10:34 AM
So, if they're not working then perhaps the problem lies elsewhere.
Is your 'id' column an Integer or a Text column? If it's the former, then try removing the single quotes around it.