If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites:
Microsoft Certified Partners - https://partner.microsoft.com/global/30000104
Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice
For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
Multiple Data Column Drop-Down Lists
Drop-down selection lists typically draw their information from a database table and, by default, display only one column of data. If you want to display more than one data column in the list, you need to modify the code that is created by the Insert Database Wizard in FrontPage 2000.To create a drop-down list box that displays both the FirstName and LastName columns from the Employees table of the Northwind sample database, follow these steps:
- Start FrontPage 2000; on the File menu, point to New, click Web, click One Page Web, and then click OK.
- On the Insert menu, point to Database, and then click Results.
NOTE: If Database is not available on the Insert menu, you need to import a database into your web. - In the Database Results Wizard - Step 1 of 5 dialog box, select Use a sample database connection (Northwind), and then click Next.
- In the Step 2 of 5 dialog box, select the Record Source box, select Employees, and then click Next.
- In the Step 3 of 5 dialog box, click Edit List and remove all fields except FirstName and LastName from the displayed fields box. Click OK, and then click Next.
- In the Step 4 of 5 dialog box, select Drop-Down List - one record per item in the Choose formatting options for the records returned by the query box, and then click Next.
- Finish the rest of wizard instructions and click Finish.
- Click the drop-down list box, and then click the HTML tab.
- In the highlighted section, locate the following line of code
and revise it to the following:
<%=FP_FieldHTML(fp_rs,"FirstName")%>
NOTE: Before modification, the code may show either "FirstName" or "LastName," depending on the order in which you selected these items in the Step 3 of 5 dialog box.<%=FP_FieldHTML(fp_rs,"LastName") & ", " & FP_FieldHTML(fp_rs,"FirstName")%>
NOTE: If you copy and paste code on the HTML tab, you may find that special characters, such as ampersands (&) and angle brackets (< and >) are converted into their HTML equivalents (&, <, and >). If so, you need to copy the code into a blank Notepad document, and then copy it from Notepad and paste it into FrontPage. - Save the page and preview it in your browser.
NOTE: You must preview in your browser; the Preview tab does not display the drop-down list in its viewable form.