A couple of days ago, I posted a qusstion as to why my simple form isn't
working. The error I get in the browser is:
Data type mismatch in criteria expression.
/grace/shapethankyou.asp, line 197
The error I get when I try to run it in Access 2000 is that it's a "Type
conversion failure"
The SQL Statement is:
INSERT INTO
Personal(FName,LName,PreferredName,DayPhone,EveningPhone,ContactTime,Email,F
irstBase,Gift1,Gift2,Gift3,babies)VALUES
('test','','','','','','','','','','','1')
All the fields you see there, with the exception of the last one, are text
fields. Users can manually type whatever they want in the web form. In the
database, they are mostly defined as text, and one or two are datetime.
The last one is a checkbox (I have more, but commented out for now until I
get this one working). I had the checkbox set to a value of "Yes", and I
got these same errors, so I posted a question at this forum. It was
explained to me that Access needs to have a 1 or 0 passed to fields defined
as yes/no. I tried this, as you can from the above SQL insert statement,
and I'm getting the same error. I even tried "ON", and it didn't work.
All fields in this statement are defined as not required, and the statement
works fine when that last field isn't included.
I'm baffled. Can you help?
Disclaimer: I'm used to SQL Server, but this church site project has to be
done in Access.