updating a check box - 9/19/2001 17:27:00
I am trying to update an access field that has a check box through an update query. I have input the following code into the custom query of DRW:UPDATE DISTINCTROW Users SET NewsLetter='::NewsLetter::' WHERE Email=::Email:: The Error on load: Database Results Error Description: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Email='. Number: -2147217900 (0x80040E14) Source: Microsoft OLE DB Provider for ODBC Drivers One or more form fields were empty. You should provide default values for all form fields that are used in the query. I have an initial value of for the form entries: <%=Request("NewsLetter")%> and <%=Request("Email")%> The Error on submit: Database Results Error Description: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. Number: -2147217904 (0x80040E10) Source: Microsoft OLE DB Provider for ODBC Drivers The field is set to either True/False, and input True or False into the update field. Where am i going wrong?
|