I have a table called Nominations. One of the fields is called Validated. On the asp page, I loop through the records and display all records where Validated = false. I have a checkbox(chkValidate) next to the person's name and have set the value of that checkbox to <%=NominationRS.Fields("ID"%>, the nomination id.
What should happen:
The user clicks the text boxes for the nominations they want to validate. The IDs of the ones they clicked are collected in chkValidate, which is then split into an array. Then, in a loop, I want to find the records in the table that match each ID number and set Valdated = true.
Problem:
I have tried
ValidateRS.Fields("Validated" = true
ValidateRS.Fields("Validated" = -1
ValidateRS.Fields("Validated" = yes
ValidateRS("Validated" = true
ValidateRS("Validated" = -1
ValidateRS("Validated" = yes
none of which has consistently set Validated to true. The first one seemed to be working, then mysteriously has not worked again.
How can I set this field in the database? I know there is a way to do it individually, using separate pages; that solution is not acceptable for my boss.
What should happen:
The user clicks the text boxes for the nominations they want to validate. The IDs of the ones they clicked are collected in chkValidate, which is then split into an array. Then, in a loop, I want to find the records in the table that match each ID number and set Valdated = true.
Problem:
I have tried
ValidateRS.Fields("Validated" = true
ValidateRS.Fields("Validated" = -1
ValidateRS.Fields("Validated" = yes
ValidateRS("Validated" = true
ValidateRS("Validated" = -1
ValidateRS("Validated" = yes
none of which has consistently set Validated to true. The first one seemed to be working, then mysteriously has not worked again.
How can I set this field in the database? I know there is a way to do it individually, using separate pages; that solution is not acceptable for my boss.