HOW TO: Send Feedback Form Results to a FrontPage 2000-Generated Database (301551)
The information in this article applies to:
This article was previously published under Q301551 SUMMARY
This article describes how to create a form and submit form results to a Microsoft FrontPage-generated database.
In FrontPage, you can create a form and then save form results to a database. When a visitor to your Web site fills out and submits the form, FrontPage enters the data directly into the database. If you do not have a database in which to store form results, FrontPage can create a new Microsoft Access database for you. FrontPage uses the fields that you have defined on your form as the columns for the table.
NOTE: You must have the following Microsoft products installed on your computer to complete the steps described in this article:
- Microsoft FrontPage 2000
- Microsoft Access 2000
- Microsoft Personal Web Server (PWS) or Microsoft Internet Information Services (IIS)
- FrontPage Server Extensions
back to the top
Create a Form that Submits Results to a FrontPage Generated Database
To create a form that submits results to a FrontPage-generated database, follow these steps:
- Start FrontPage, and then open your server-based Web.
- Open the page on which you want to insert the form.
-or-
On the File menu, point to New, and then click Page to create a new page. In the New dialog box, click Normal Page, and then click OK.
- On the Insert menu, point to Form, and then click Form.
- Position the pointer in the form, and then press ENTER several times to create space for adding text and text boxes to your form.
- Place your pointer in the location that you want on the form, and then type First Name.
- On the Insert menu, point to Form, and then click One-Line Text Box.
- Press ENTER to create a new line.
- Type Last Name, point to Form on the Insert menu, and then click One-Line Text Box.
- Right-click anywhere on the form, and then click Form Properties.
- Click Send to database, and then click Options.
- In the Options for Saving Results to Database dialog box, click Create Database.
After FrontPage has finished creating the Access database for you, you receive a confirmation message similar to the following:
FrontPage has successfully created a database for you.
The database can be found at "/fpdb/database_name.mdb.
When using the Database Results Wizard, use the data connection "database_name.mdb".
- Click OK to the message, and then click OK to close the dialog boxes.
- On the File menu, click Save, type a name for your form page, and then click Save.
If the extension of the current page is .htm, FrontPage prompts you to rename the file with the .asp extension for the file to work correctly.
Note that FrontPage also creates a Global.asa file that connects your Web to the database. - Under Folder List, click the form page that you created, and then click Preview in Browser on the File menu.
- Test your form. Type your first name and last name in the First Name and Last Name boxes, and then click Submit.
A Form Confirmation page is displayed in your browser, which displays the results of your submission.
back to the top
REFERENCESFor additional informationabout forms in Microsoft FrontPage, click the article number below
to view the article in the Microsoft Knowledge Base:
236809 FrontPage 2000 Form Results Do Not Save to Access Database
For more information about working with forms in FrontPage, click Microsoft Microsoft FrontPage Help on the Help menu, type forms in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
back to the top
Modification Type: | Minor | Last Reviewed: | 1/7/2006 |
---|
Keywords: | kbhowto kbHOWTOmaster KB301551 kbAudITPro |
---|
|