VBA / Visual Basic. Simple String SQL -
I am creating a voting system, so this happens every time such as button 1 pressed + or in the access database Will increase votes I can not find anything in Google
trx = "update [table1] SET [vote] = vote + 1, (WHERE id = 1)"
WHERE section, except that you need to insert the WHERE clause inside the bracket is not.
Test this entry in the query designer as a new query.
update [table 1] SET [vote] = vote + 1 where id = 1 OK Needed in the form of tune. And once you are working in this query designer, customize your VBA code to use that functional statement.
Comments
Post a Comment