首页 | 本学科首页   官方微博 | 高级检索  
     

PowerBuilder数据窗口多表更新的通用性方法
引用本文:邓春燕,周治国,李文印,兰书梅. PowerBuilder数据窗口多表更新的通用性方法[J]. 河南师范大学学报(自然科学版), 2005, 33(4): 30-33
作者姓名:邓春燕  周治国  李文印  兰书梅
作者单位:1. 吉林大学,计算机科学与技术学院,长春,130012
2. 东北师范大学,计算机学院,长春,130024
摘    要:PowerBuilder中单数据窗口只能更新一个表,目前常用的解决方法是编写函数实现基于单数据窗口的两表更新,当表的数目增加时又需要重新编程或重复调用函数.为克服该局限性,对其进行了改进,通过建立全局函数实现单数据窗口的多表更新,提高了代码的可重用性和可维护性,通过向函数传递不同的参数,使程序不必受制于数据库表的个数和名称,体现其通用性,从而使PowerBuilder应用程序的报表更新技术更完善,更灵活.

关 键 词:PowerBuilder  数据窗口  多表  更新  通用性
文章编号:1000-2367(2005)04-0030-04
收稿时间:2004-12-08
修稿时间:2004-12-08

A Universal Method of Updating Multi-Tables of Single DataWindow in PowerBuilder
DENG Chun-yan,ZHOU Zhi-guo,LI Wen-yin,LAN Shu-mei. A Universal Method of Updating Multi-Tables of Single DataWindow in PowerBuilder[J]. Journal of Henan Normal University(Natural Science), 2005, 33(4): 30-33
Authors:DENG Chun-yan  ZHOU Zhi-guo  LI Wen-yin  LAN Shu-mei
Affiliation:1. College of Computer Science and Technique, Jilin University, Changchun 130012,China; 2. College of Computer Science, Northeast Normal University, Changchun 130024,China
Abstract: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.
Keywords:PowerBuilder  DataWindow  Multi-Tables  update  universality
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号