摘要
PowerBuilder的数据窗口是一个功能强大的数据检索工具,但在用SaveAS()函数将数据窗口中的数据转存为其他形式的数据文件时,产生的新文件的数据列标题往往不能准确表达该列的含义,本文在分析数据窗口对象源代码语法的基础上,使用PB的LibraryPainter中的Export和Import工具,对数据窗口源代码进行修改,完美地解决了数据窗口输出时的列标题问题。
PB's datawindow is a powerful data-retrieving tool.But when its data are converted to a new type of data file by means ofits function:saveas(),the new file's column title can notexpress the column' meaning correctly.Based on the analysis ofthe grammar of datawindow 's source code and usage ofthe Library Painter's tools:Export and Import,a perfect method of solving the problem is introduced in detail.
出处
《现代计算机》
2002年第7期92-93,共2页
Modern Computer