XL97: Error Submitting Data by Using Web Form Wizard Worksheet

Last reviewed: January 7, 1998
Article ID: Q175445
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

If you create a Microsoft Excel worksheet form by using the Web Form Wizard, and then submit data with the form, you may receive an error message that is similar to the following:

   Error Performing Query

   [State=37000][Error=-3502][Microsoft][ODBC Microsoft Access 7.0 Driver]
   Syntax error in INSERT statement

NOTE: The error message you receive may vary depending on the database to which you submit data.

The data is not added to the database.

CAUSE

This behavior occurs when you use a field name with the label "date" (without the quotation marks).

RESOLUTION

To resolve this behavior, rerun the Web Form Wizard and do not specify "date" as a field label. Instead, use a more descriptive label, for example, "submit_date."

STATUS

This behavior is by design of Microsoft Excel.

MORE INFORMATION

Some words are reserved and shouldn't be used when you submit data by using Open Database Connectivity (ODBC). "Date" is one of these reserved words. Because you may need to set up a system data source on the Web server and use an ODBC driver to submit data with the Web Form Wizard, you may receive error messages when you use some reserved words.

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q125948
   TITLE     : MSQUERY: Reserved Keywords in MS Query

   ARTICLE-ID: Q133177
   TITLE     : INF: Changes to SQL Server 6.0 That May Affect 4.2x Apps

NOTE: You must establish a system data source on the Web server only if you click "Microsoft Internet Information Server with the Internet Database Connector" in step 3 of the Web Form Wizard.

REFERENCES

For more information about the Web Form Wizard, click the Index tab in Microsoft Excel Help, type the following text

   web form wizard

and then double-click the selected text to go to the "About setting up your data gathering system" topic.


Additional query words: XL97
Keywords : xlweb xlwiz kbtool
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 7, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.