当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > Filters 属性

APPML
AppML HTML 报告
AppML 过滤函数
AppML HTML 列表
AppML HTML 表单
AppML XML 报告

APPML 中的 Filters 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 304 ::
收藏到网摘: n/a

The filters attribute is used to remove the filter function from the HTML report (no search allowed in the report).
filters属性的作用是:从HTML报告(不允许在报告中进行搜索)中,删除过滤掉的函数。

Example
案例

<?xml version="1.0" ?>
<appml>
<title>CUSTOMERS</title>
<database>
<connection>northwind</connection>
<sql>SELECT Companyname,ContactName,Country
FROM Customers</sql>
</database>
<filters>
<orderby>Companyname</orderby>
<query><field>Companyname</field></query>
<query><field>Country</field></query>
</filters>
<htmlreport filters="off" />
</appml>

View the output produced by the HTML Report Service
查看由AppML HTML 报告服务输出的结果

View the XML source file
查看XML 源文件

Example
案例

The example below has no filters="off" attribute and allows you to filter the report:
下面的案例不包含 filters="off" 属性,并允许你过滤报告:

<?xml version="1.0" ?>
<appml>
<title>CUSTOMERS</title>
<database>
<connection>northwind</connection>
<sql>SELECT Companyname,ContactName,Country
FROM Customers</sql>
</database>
<filters>
<orderby>Companyname</orderby>
<query><field>Companyname</field></query>
<query><field>Country</field></query>
</filters>
<htmlreport />
</appml>

View the output produced by the HTML Report Service
查看由AppML HTML 报告服务输出的结果

View the XML source file
查看XML 源文件


评论 (0) All

登陆 | 还没注册?