MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 180

For windows 95/98/nt4/2000
Table of Contents

Advertisement

188
SelectFields
This page displays all fields from the specified tables and lets the user select one or
more of them.
Exposes controls
lstFields (dropdown) — The control lists fields in the tables specified in the Tables
parameter. The control exchanges with the bound parameter a comma-delimited list
of selected fields, where each item is in format "table.field=type,size,required". Type
specifies the type of the table field can have following values (BIT, CHAR, MEMO, INT,
FLOAT, DATETIME. Size gives information about size of the field in bytes (this might
not be true for certain DBMS and types). Required is "YES" if the field value cannot be
NULL.
Reads parameters
DataSource (required) — Name of the data source.
Tables (required) — Comma-delimited list of the tables.
ListBoxLabel — Caption for the dropdown control.
ListBoxDescription — More detailed description for the dropdown control.
MultiSelect — If "YES", user is allowed to select more than one field.
Example
<PAGE name="SearchFields" type="SelectFields" caption="Fields for Search
page" image="..\\images\\SearchCriteria.bmp">
<PARAM name="DataSource" value="$${DataSource}">
<PARAM name="Tables" value="$${Tables}">
<PARAM name="ListBoxLabel" value="Select the search
fields:">
<PARAM name="ListBoxDescription"
value="Choose all fields that should be included as search
criteria on the Search page. Press Ctrl or Shift together
with the
mouse click in order to select more than one field.">
<PARAM name="MultiSelect" value="yes">
<INPUT name="lstFields" param="SearchFields" required="yes"
validationMsg="You did not select any fields. Please select
at
east one before proceeding.">
</PAGE>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents