Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot update a database by using the Web pages that were created by the Database Interface Wizard in FrontPage 2003


View products that this article applies to.

Symptoms

When you create Web pages by using the Database Interface Wizard in Microsoft Office FrontPage 2003, you may experience one or more of the following symptoms:
  • You cannot update the database by using the Web pages that were created by the Database Interface Wizard.
  • You may receive one or more of the following error messages:
    Database Results Wizard Error
    The operation failed. If this continues, please contact your server administrator.
    Database Results Wizard Error
    Description: Syntax error in query. Incomplete query clause.
    Number: -2147217900 (0x80040E14)
    Source: Microsoft JET Database Engine

↑ Back to the top


Cause

This issue occurs because some tables in the database have names that contain blank spaces. The Database Interface Wizard in FrontPage 2003 does not support blank spaces in database table names.

↑ Back to the top


Workaround

To work around this issue, use one of the following methods.

Method 1: Use the Database Results Wizard to change the default SQL query for database tables

  1. Open the Front Page 2003 application that contains the Web pages that you created by using the Database Results Wizard.
  2. On the Insert menu, click Database, and then click Results to start the Database Results Wizard.
  3. Select the appropriate options on the first page of the wizard, and then click Next.
  4. Click Custom Query, and then click Edit.
  5. A query string that is similar to following appears:
    SELECT * FROM "table name"
    Change the query string by replacing the quotation marks with brackets so that the query string appears similar to the following:
    SELECT * FROM [table name]
  6. Click Next, and then follow the instructions that appear on the screen to complete the steps in the wizard.

Method 2: Remove the blank spaces from the table names in the database

  1. In the database, change every table name that contains blank spaces to a name that does not contain blank spaces.
  2. Start the Database Interface Wizard to create new Web pages that update the database by using the new table names.

↑ Back to the top


Keywords: KB891819, kbprb, kbtshoot, kberrmsg, kbasp, kbdatabase, kbforms

↑ Back to the top

Article Info
Article ID : 891819
Revision : 4
Created on : 9/27/2006
Published on : 9/27/2006
Exists online : False
Views : 272