I am working on a youth rights website, and while working on the membership application, I receive an datatype mismatch error.
I have pinpointed the error to be related to checkbox values.
All form variables are passed to the next page which then stores the forms values as session variables.
In the database, each of the database fields are set to Yes/No datatypes. Check forms checkbox saves its variable in the session as 'on' for true.
Here is the error I receive:
And here is just one of my queries, as a three have the same issues:
Any help would be appreciated.
I have pinpointed the error to be related to checkbox values.
All form variables are passed to the next page which then stores the forms values as session variables.
In the database, each of the database fields are set to Yes/No datatypes. Check forms checkbox saves its variable in the session as 'on' for true.
Here is the error I receive:
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
And here is just one of my queries, as a three have the same issues:
Support = oConn.Execute(" INSERT INTO membership_supp ort (AccountNumber, [money], Other) VALUES('" &Session.Sessio nID& "', '" &money& "', '" &OtherHelp& "')")
Any help would be appreciated.
Comment