FP98: Error Browsing Active Server Page if Form Field Empty

Last reviewed: March 18, 1998
Article ID: Q175170
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows

SYMPTOMS

When you browse an Active Server Page (ASP), you receive the following error message in the Database Region Wizard:

   Database Error: [Microsoft] [OBDC Microsoft Access 97 Driver]
   The SELECT statement includes a reserved word or an argument
   name that is misspelled or missing, or the punctuation is incorrect.
   One or more form fields were empty.

NOTE: The error message you receive will vary depending on which ODBC driver you are using.

CAUSE

This error appears if your SQL statement uses a parameter field that is populated by form data, but the form field that generates this data is unpopulated.

RESOLUTION

To resolve this problem, ensure that your form fields have been filled in before the query is submitted. To do this, use form field validation to require that the form field be filled in before it is submitted.

For more information about validating form fields, click the Index tab in FrontPage Help, type the following text

   forms, validating text box fields

and then double-click the selected text to go to the "To validate a text box field" topic.

REFERENCES

For more information about the Database Region Wizard, click the Index tab in FrontPage Help, type the following text

   Database Region Wizard, overview

and then double-click the selected text to go to the "Database Region Wizard" topic.

For more information about using ODBC data source files, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q161155
   TITLE     : FP97: How to Make a Web Page Display Data from a Database


Additional query words: front page
Keywords : kbusage kbdta
Version : WINDOWS:98
Platform : WINDOWS
Hardware : x86
Issue type : kbprb


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: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.