Microsoft KB Archive/825502

= How to use an existing database with the Database Interface Wizard in FrontPage 2003 =

Article ID: 825502

Article Last Modified on 10/23/2006

-

APPLIES TO


 * Microsoft Office FrontPage 2003

-





For a Microsoft FrontPage 2002 version of this article, see 287993.

IN THIS TASK

 * SUMMARY
 * Use an Existing Database with the Database Interface Wizard



SUMMARY
This article describes how to use an existing database with the Database Interface Wizard in Microsoft Office FrontPage 2003.

Note This example uses the Northwind sample database that is included with Microsoft Office 2003. The same steps apply to a database that you can create automatically when you use FrontPage 2003.

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 eight steps. To use an existing database with the Database Interface Wizard, follow these steps:
 * 1) Open your Web in FrontPage 2003.
 * 2) On the File menu, click New.
 * 3) On the New task pane, click Blank page to open a new page.
 * 4) On the File menu, click Save As, and then save your new page as Sample.asp.
 * 5) With the insertion point in your Sample.asp page, point to Database on the Insert menu, and then click Results.
 * 6) In the Database Results Wizard dialog box, click Use a sample database connection (Northwind), and then click Next.
 * 7) Click Cancel to cancel the Database Results Wizard.

You now have a folder in your Folder List of your Web that is named FPDB and a database inside that folder that is named Fpnwind.mdb. FrontPage automatically created a connection string to use in step 12.
 * 1) On the File menu, click Close to close the Sample.asp page.
 * 2) On the File menu, point to New.
 * 3) In the New task pane, under New Web site, click More Web site templates.
 * 4) On the General tab, click Database Interface Wizard, click to select the Add to current Web site check box, and then click OK.

Note If you do not add this to the current Web, you cannot select the correct database connection name in step 12.
 * 1) In the Database Interface Wizard, click Use an existing database connection, click Sample in the drop-down list, and then click Next.
 * 2) Click Next two times.
 * 3) Under Select the database interface pages you would like the wizard to create for you, click to select the Results Page, the Submission Form, and the Database Editor check boxes, and then click Next.
 * 4) Under Enter a username and password that you will use to access your database editor, do one of the following and then click Next:
 * 5) * Type a username and password that you will use to access your database editor.

-or-
 * 1) * Click to select the Don't protect my submission page or my database editor with a username and password check box if you do not want to use a username and password.
 * 2) Click Finish to complete the Database Interface Wizard.

You now have a whole Sample_interface folder in your Folder List of your Web. The Folder List includes all the pages that you need to view, to edit, tp delete, and to add to the database.

back to the top

Keywords: kbdatabase kbhowtomaster KB825502

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.