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

Article translations Article translations
Article ID: 246570 - View products that this article applies to.
This article was previously published under Q246570
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

Symptoms

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

Cause

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.

Resolution

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.

Properties

Article ID: 246570 - Last Review: October 26, 2013 - Revision: 2.0
Applies to
  • Microsoft FrontPage 2000 Standard Edition
  • Microsoft FrontPage 2002 Standard Edition
Keywords: 
kbnosurvey kbarchive kbdatetime kberrmsg kbforms kbdatabase kbprb KB246570

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com