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....
How to change true into false in access table from c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Oct 30, 2014, 6:34 AM EDT
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.
GoGi FeboRank #4,008 · 372 reputationPosted Oct 30, 2014, 6:30 PM EDT