lorena
Well-known member
I have an aspx form with a radiobuttonlist that a user can select from. When the user makes a choice and clicks "Submit", all I want to do is to go to that value in the currentTotal field and increment it by 1.
Here is my query:
strSQL = "Update SurveyResults SET CategoryTotal = CategoryTotal +1 " & _
"WHERE Category = ~ "
strSQL = Replace(strSQL, "~", strVal1)
I am using VS.Net and it does not like my query and does not update the database.
I am connecting (or trying to connect) to an Access db. The query works in access.
I think I am making this harder than it needs to be. I would appreciate any help.
Here is my query:
strSQL = "Update SurveyResults SET CategoryTotal = CategoryTotal +1 " & _
"WHERE Category = ~ "
strSQL = Replace(strSQL, "~", strVal1)
I am using VS.Net and it does not like my query and does not update the database.
I am connecting (or trying to connect) to an Access db. The query works in access.
I think I am making this harder than it needs to be. I would appreciate any help.