This article describes how to use the FrontPage 2000 Database Results feature to populate the Office 2000 Spreadsheet Component.
Procedure
- Open a Web on a Microsoft Internet Information Services Web server.
- To create the database results page, follow these steps:
- Open a new page in FrontPage.
- On the Insert menu, click Database, and then click Results.
- Select the sample database connection, and then click Next.
- Under Record Source, click Customers in the list, and then click Next.
- Click Next to bypass any options.
- Select Table - one record per row, and then click Next.
- Select the Display all records together button, and then click Finish.
- Save the page as customers.asp to your Web, and then close the page.
- To create the spreadsheet page, follow these steps:
- Open a new page in FrontPage.
- On the Insert menu, click Component, and then click Office Spreadsheet.
- Save the page as customers.htm to your Web.
- Click the Property Toolbox icon on the spreadsheet control.
- Expand the Import Data section of the Property toolbox.
- Type customers.asp in the URL box.
- Click the Import Now button.
- Select the Refresh from URL at run time check box.
- Close the Property toolbox.
- Save the page to your Web again, and then preview the page in Microsoft Internet Explorer.
When users browse the
customers.htm page via HTTP using Internet Explorer, the Office Spreadsheet Component dynamically loads the data from the database.