Article ID: 229295
Article Last Modified on 9/27/2004
APPLIES TO
- Microsoft FrontPage 2000 Standard Edition
This article was previously published under Q229295
SYMPTOMS
After you insert a database results region on an existing HTML page, save the page as an ASP file, and then preview the page in your Web browser, you may receive the following error message when you click Submit:
CAUSE
When you add a submit query field to an existing file with a .htm extension, the form action is not updated to the file name with the asp extension.
The form points to the original file name. When you click Submit, the query is posted to the original file.
RESOLUTION
To resolve this problem, use one of the following methods.
Method 1: Add the Correct Form Field Action.
To add the correct form field action, follow these steps:
- Open the page that contains the database results form.
- Right-click the form, and click Form Properties.
- Click Options.
- In the Action box, type the name of the ASP page.
For Example: Mypage.asp
Method 2: Delete the Existing Database Region and Recreate the Database Results Form.
To delete the existing database region and recreate the database results form, follow these steps:
- Open the page that contains the database results form.
- Click to select the database results region and the database search form.
- Press Delete to remove the database region and form from the page.
- On the Insert menu, point to Advanced, and click Results.
- Use the wizard to recreate your database query. When you are finished, save the page to the same asp file name.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Additional query words: front page
Keywords: kbdatabase kbforms kbprb kbpending kbasp kbopenfile KB229295