Article ID: 159437 - Last Review: June 18, 2005 - Revision: 2.0 FP: Drop-Down Populated by IDC Query Shows Code Not DataThis article was previously published under Q159437 SYMPTOMS
When you insert a drop-down form field into the detail section of
an .htx file, FrontPage does not include a way to populate the drop-
down with data from the IDC query.
CAUSE
The HTML construction necessary to achieve this effect is character
based rather than tag based. This particular implementation, although
popular, is not defined in any of the working documents of the
Internet Engineering Task Force. When FrontPage parses this type of
construction, it is unable to fit it within a logical tree based on
HTML standards.
RESOLUTIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To create a list box populated by an IDC query that returns the value
of the selected option, use the HTML Markup command on the Insert menu
in FrontPage Editor and insert code similar to the following
MORE INFORMATION
For more information about publishing dynamic data on the Web, see
Chapter 8 of the online documentation for IIS. Note that Chapter 8 of
this documentation is available at the following Web site:
http://www.microsoft.com/iis/usingiis/resources/IIS2docs/08_iis.htm
(http://www.microsoft.com/iis/usingiis/resources/IIS2docs/08_iis.htm)
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
(http://www.microsoft.com)
To view the HTML 2.0 specification for the SELECT tag, see the
following World Wide Web Consortium Web site at:
http://www.w3.org/pub/WWW/MarkUp/html-spec/html-spec_8.html#SEC8.1.3
(http://www.w3.org/pub/WWW/MarkUp/html-spec/)
The HTML 3.2 proposal on the SELECT tag is available at:
http://www.w3.org/pub/WWW/TR/WD-html32#select
(http://www.w3.org/pub/WWW/TR/WD-html32#select)
The HTML 4.0 Working Draft Release can be found at:
...http://www.w3.org/TR/WD-html40-970708/
(http://www.w3.org/TR/WD-html40-970708/)
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
(http://www.microsoft.com)
| Article Translations
|

Back to the top
