Microsoft KB Archive/161155

= FP97: How to Make a Web Page Display Data from a Database =

Article ID: 161155

Article Last Modified on 6/25/2007

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition

-



This article was previously published under Q161155



SUMMARY
FrontPage 97 has a built-in Internet Database Connector Wizard which, when used with the Database Results Page template, can create database queries that will function with the Microsoft Personal Web Server, Microsoft Peer Web Services, or Microsoft Internet Information Server. This article describes how to get started using the Internet Database Connector and where to get more information about it.

NOTE: FrontPage 97 will not record Structured Query Language (SQL) or show you the table structure of the database you are querying. The Internet Database Connector Wizard will write the proper file for you, but you will need to know the SQL and the table structure needed to reach your data.



MORE INFORMATION
To start using the Internet Database Connector, use the following steps:  Make sure you have all of the following components:  Microsoft Personal Web Server, Microsoft Peer Web Services, or Microsoft Internet Information Server. An ODBC Driver for your database management system. A database.  Create a system data source name using your ODBC Driver. For additional information, please see the following article in the Microsoft Knowledge Base:

161172 ACC97: How to Use IDC Files to Query a Secure MS Access Database

</ol>

<ol> Do the following: <ol style="list-style-type: lower-alpha;"> On the File menu, click New.</li> In the Template Or Wizard list, select the Database Results template and then click OK.

-or-

On the Edit menu, point to Database, and then click the command you want.</li></ol> </li> On the File menu, click New.</li> In the Template Or Wizard list, select the Database Connector Wizard, and then click OK.</li> In the ODBC Data Source box, type the name of your data source. Type a user name and password, if desired. In the Query Results Template box, type the file name of the file you created in step 3. Click Next.</li> Enter the SQL statement you want, and then click next.</li> In the Default Parameters box, specify the parameters and values you want, and then click Finish.</li> In the Current Web dialog box, in the Save As box, type they file name you want, using an .idc file extension. Select a folder in your Web where executable files can be stored. Click OK.</li></ol>

To open the IDC file from a form, specify the Internet Database Connector as the form handler and the .idc file you created in step 9. You can also create a hyperlink on a Web page that links to the .idc file.

NOTE: Because the Microsoft Web site is regularly updated, the site address may change without notice. If this occurs, link to the Microsoft home page at the following address:

http://www.microsoft.com/

Additional query words: 97

Keywords: kbhowto KB161155

-

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

© Microsoft Corporation. All rights reserved.