How to use an existing database with the Database Interface Wizard in FrontPage 2002 (287993)
The information in this article applies to:
This article was previously published under Q287993 For a Microsoft FrontPage 2003 version of this
article, see
825502. IN THIS TASKSUMMARY This article describes how to use an existing database with
the Database Interface Wizard from FrontPage 2002. This example uses
the Northwind sample database that is included with Office XP. The same steps
apply to a database that is created automatically by using either FrontPage
2002 or FrontPage 2000.
back to the top
Use an Existing Database with the Database Interface Wizard If you already have a database in your Web, skip the first six
steps.
- Open a Web in FrontPage 2002.
- Open a new page, and then click Save As on the File menu.
- Save this page as Sample.asp.
- With the insertion point in Sample.asp, point to Database on the Insert menu, and then click Results.
- In the Database Results Wizard, click Use a sample database connection
(Northwind), and then click Next.
- In step 2 of the wizard, click Cancel.
You now have a folder called FPDB in your Web and a
database inside that folder called Fpnwind.mdb. FrontPage automatically created
a connection string to use in step 10. - On the File menu, point to New, and then click Page or Web. In the task pane, click Web Site Templates under New from template.
- Click the Database Interface Wizard template.
- Select the Add to current Web check box,
and then click OK.
NOTE: If you do not add this Web to the current Web, you cannot choose
the correct database connection name in step 10. - When the wizard starts, click Use an existing
database connection, and then click Sample in the drop-down list.
- Click Next three times.
- Under Database Interface Pages, select the Database Editor, Results Page, and Submission Form check boxes.
- Click Next, and then choose either to use a password or not to use a
password.
- Click Next and then Finish.
You should have an entire Sample_interface folder in your
Web, which includes all of the pages that you need to view, edit, delete, and
add to the database. NOTE: For information about an issue with updating the database if the
database was created by using a form in FrontPage 2000 or FrontPage 2002,
please see the following Microsoft Knowledge Base article: 287147 FP: Error Message: "Database Results Error" When You Update a Database Record
back to the top
Modification Type: | Minor | Last Reviewed: | 10/28/2004 |
---|
Keywords: | kbDatabase kbwizard kbHOWTOmaster KB287993 kbAudITPro |
---|
|