"Database Results Error" error message when you preview a page in FrontPage 2002
This article was previously published under Q299911 For a Microsoft FrontPage 2000 version of this
article, see
265320 (http://support.microsoft.com/kb/265320/EN-US/). SYMPTOMS When you preview a page in a Web browser, you receive an
error message similar to the following: Database Results
Error The error message appears in the Database Results region of a page
containing a search form that queries the database by using selected criteria.
Description: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression '(EmployeeID = AND FirstName = '')'. 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. CAUSE This problem occurs because empty number fields are not
recognized as numbers and result in a data type mismatch error. RESOLUTION To have the page appear without the error described in the
"Symptoms" section of this article, use a default value for any database field
that has a numeric data type. First determine which fields have Number or
AutoNumber data types, and then specify default values for the numeric data
types used by the Database Results region. To do this, follow these steps:
MORE INFORMATIONFor additional information about working with FrontPage and
Access data types, click the article number below to view the article in the
Microsoft Knowledge Base: 284843 (http://support.microsoft.com/kb/284843/EN-US/) FP2002: Error Querying Date/Time Fields in Access Database
265176 (http://support.microsoft.com/kb/265176/EN-US/) FP2000: Microsoft Access 2000 Hyperlink Fields Are Displayed As URLs Rather Than Descriptive Text
| Article Translations
|
Back to the top
