Hello
I am still experiencing an updating problem witha poll/voting program I have.
I am updating (or trying to) using recordset values, but it has been suggested that I try using SQL statements.
As far as I know, the following is valid for updating with SQL:
UPDATE table_name SET column_name = new_value
WHERE column_name = some_value
In my case, this translates to:
sql = "UPDATE vote SET novote = novote + 1 WHERE novote = ;
'vote' is the name of one (of 3) table, and novote is a field in the 'vote' table.
What I am concerned about is the some_value which comes after the = sign.
Basically, the program should register (through the update statement) the fact that a visitor to the poll has voted (once). When the visitor clicks on another asp page, that page should display the fact that his vote has been recorded. However, the poll showings record 'no submissions', in other words, it does not record the vote.
What, therefore, do I need to write in some_value? Is it +1?
Thanks for any advice.
I am still experiencing an updating problem witha poll/voting program I have.
I am updating (or trying to) using recordset values, but it has been suggested that I try using SQL statements.
As far as I know, the following is valid for updating with SQL:
UPDATE table_name SET column_name = new_value
WHERE column_name = some_value
In my case, this translates to:
sql = "UPDATE vote SET novote = novote + 1 WHERE novote = ;
'vote' is the name of one (of 3) table, and novote is a field in the 'vote' table.
What I am concerned about is the some_value which comes after the = sign.
Basically, the program should register (through the update statement) the fact that a visitor to the poll has voted (once). When the visitor clicks on another asp page, that page should display the fact that his vote has been recorded. However, the poll showings record 'no submissions', in other words, it does not record the vote.
What, therefore, do I need to write in some_value? Is it +1?
Thanks for any advice.