Error message when you update a database by using a form in FrontPage 2000 and in FrontPage 2002: "Data type mismatch in criteria expression"

This article was previously published under Q246570
This article has been archived. It is offered "as is" and will no longer be updated.
When you update a database using a form, the following error message may appear when you submit the form:
Database Results Error Description: [Microsoft][ODBC Microsoft Access Driver]
Data type mismatch in criteria expression.
Number: -2147217913 (0x80040E07)
Source: Microsoft OLE DB Provider for ODBC Drivers
The data type for one of the fields in the database is set to date/time, and FrontPage returns a numeric value for the date.
To resolve this problem, change the data type for the database field to text.

Also, the form will be submitted without errors if you submit the form field using date format. An example of date format is ##/##/####, using forward slashes (/) to separate the numbers.

Article ID: 246570 - Last Review: 10/26/2013 00:54:00 - Revision: 2.0

  • Microsoft FrontPage 2000 Standard Edition
  • Microsoft FrontPage 2002 Standard Edition
  • kbnosurvey kbarchive kbdatetime kberrmsg kbforms kbdatabase kbprb KB246570