FP98: Unknown Field Error When Viewing Page With Database Region (181655)
The information in this article applies to:
- Microsoft FrontPage 98 for Windows
This article was previously published under Q181655 SYMPTOMS
When you browse to a page containing a database region, you see the following message displayed
in the browser:
Database Error: [Microsoft][ODBC Microsoft Access 97 Driver] The INSERT
INTO statement contains the following unknown field name: 'Field1'. Make
sure you've typed the name correctly, and try the operation again.
CAUSE
This behavior occurs when the field name you specified in the INSERT INTO
statement does not exist in the database being queried. Most often this happens if you have mistyped
the query.
RESOLUTION
To resolve this behavior, you must specify the correct field name in the INSERT INTO statement. To
do this, follow these steps:
- Determine the correct field name in your database.
- Start Microsoft Access and open your database.
- Select the table you are querying and then click Design View.
- Note the name of the field you would like to query. The field name
appears in the Field Name column.
- On the File menu, click Exit.
- Start or switch to FrontPage Editor and then open the page that
contains the database region.
- Right-click any of the column values in your database region and then
click Database Region Properties on the menu that appears.
- In the INSERT INTO statement, type the name of the field you noted in
step 1. For example, if the field name is Field1, type your query like
this:
INSERT INTO TableName (Field1)
Values
('%%Field1%%')
NOTE: Your query may be different depending on the name of your table
and the number of fields you are querying.
- Click Finish.
- On the File menu, click Save.
Modification Type: | Major | Last Reviewed: | 12/1/2000 |
---|
Keywords: | kbprb KB181655 |
---|
|