当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > orderselect
The <orderselect> element defines which fields the user can sort by at runtime.
<orderselect>元素定义了用户搜索的字段。
Note: The <orderselect> element will not work without one or more <query> elements defined.
注意:<orderselect>元素如果不包含一个或多个已定义的<query>元素,那么该元素将不会运行。
Note: The fields in the <orderselect> element must be presented in the SQL for the report/list.
注意:<orderselect>元素必须被放置在SQL中。
The <orderselect> element may have the following child elements:
<orderselect>元素可以包含下面这些子元素:
Element 元素 | Description 描述 |
---|---|
field | Defines which data fields the user can sort by. 定义了用户搜索的字段 If you do not want to use the name of the data field you can add a label: |
selected | ? |
direction | ? |
<?xml version="1.0" ?> <appml> <title>CUSTOMERS</title> <database> <filters> <orderselect> <field>Companyname</field> <field>Country</field> </orderselect> </filters> <htmlreport /> </appml> |
View the output produced by the AppML HTML List Service
查看由AppML HTML 报告服务输出的结果