Microsoft Knowledge Base Email Alertz

(891819) - Describes an issue where you cannot update a database by using the Web pages that were created by the Database Interface Wizard in FrontPage 2003. Provides methods to work around the issue.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 891819 - Last Review: September 27, 2006 - Revision: 1.3

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

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

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.

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.

APPLIES TO
  • Microsoft Office FrontPage 2003
Keywords: 
kbforms kbdatabase kbasp kberrmsg kbtshoot kbprb KB891819
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Deb Kerr Report As Irrelevant  
Written: 2/23/2005 5:00 PM
Thanks for providing the solution to a problem I had struggled with for days! I owe you!

Dhaval Jani - devilkingdom_13 NOSPAM-AT-NOSPAM yahoo.com Report As Irrelevant  
Written: 11/17/2005 9:58 AM
thanks for such an easy solution!! i was so worried n sad about this!!