利用数据窗口实现报表的生成  被引量:1

Creating Report Forms by DataWindow

在线阅读下载全文

作  者:张蓉[1] 

机构地区:[1]西南自动化研究所信息网络工程部,四川绵阳621000

出  处:《兵工自动化》2002年第1期36-39,共4页Ordnance Industry Automation

摘  要:针对PowerBuilder中通用报表生成不便的缺点,提出了一种利用DataWindow实现报表生成的方法。该方法采用PB的Creat函数将需生成的报表动态创建数据窗口,然后用Describe函数获取数据窗口属性值,用Modify等函数修改数据窗口特定属性,并在数据库中创建包含有该生成报表的报表名、标题名、数据源和生成语法等的数据表。其动态生成报表步骤包括选择生成报表的数据源、选择报表输出字段、打印、保存报表等。Aiming at the existed disadvantages that general reports was created in PowerBuilder (PB), the method of creating report forms by DataWindow is presented in this paper. The dynamic DataWindow was established by Creat() function of PB for forms would created in this method, and then property value of DataWindow was captured by Descnbe() function, the property of DataWindow was modified by modify() function. The data table that contains table name, title name, data source and syntax was established in database. The process of dynamically creating report forms includes data source, output word, printing and save form.

关 键 词:数据窗口 报表生成 打印 PB DATAWINDOWS POWERBUILDER 

分 类 号:TP317.3[自动化与计算机技术—计算机软件与理论] TP39[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象