PowerBuilder数据窗口多表更新的通用性方法  

A Universal Method of Updating Multi-Tables of Single DataWindow in PowerBuilder

在线阅读下载全文

作  者:邓春燕[1] 周治国[2] 李文印[1] 兰书梅[1] 

机构地区:[1]吉林大学计算机科学与技术学院,长春130012 [2]东北师范大学计算机学院,长春130024

出  处:《河南师范大学学报(自然科学版)》2005年第4期30-33,共4页Journal of Henan Normal University(Natural Science Edition)

摘  要:PowerBuilder中单数据窗口只能更新一个表,目前常用的解决方法是编写函数实现基于单数据窗口的两表更新,当表的数目增加时又需要重新编程或重复调用函数.为克服该局限性,对其进行了改进,通过建立全局函数实现单数据窗口的多表更新,提高了代码的可重用性和可维护性,通过向函数传递不同的参数,使程序不必受制于数据库表的个数和名称,体现其通用性,从而使PowerBuilder应用程序的报表更新技术更完善,更灵活.PowerBuilder can only update single table in single DataWindow. Now its users often program a function to update two tables of single DataWindow. But with the increasing of tables users need program or call it again and again. To overcome this limitation this article modifies the method. Through creating a global function, we accomplish updating multi- tables. Through passing different parameters to the function, the application will not be limited by the amount or the name Of the database tables, so it is universal. It improves the re-use and maintainability of the code and makes the technology of updating reports in PowerBuilder more perfect.

关 键 词:POWERBUILDER 数据窗口 多表 更新 通用性 

分 类 号:TP315[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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