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

APPML
AppML 简介
AppML 案例
AppML 案例说明
AppML 网络服务
案例研究简介
案例研究:数据库
案例研究:AppML
案例研究:HTML 报告
案例研究:HTML 表单
案例研究:目录
案例研究:产品
案例研究:托运人
案例研究:供应商
案例研究:客户
案例研究:雇员
案例研究:应用程序
案例研究:下载
AppML FAQ
AppML 文档
AppML 数据库元素

APPML 中的 Filters 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 280 ::
收藏到网摘: 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

登陆 | 还没注册?