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>
Содержание COLDFUSION STUDIO 4.5-USING COLDFUSION...
Страница 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Страница 16: ...xvi Contacting Allaire...
Страница 90: ...82...
Страница 130: ...122...
Страница 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Страница 182: ...190...