在PB中如何实现数据模糊查询(二)
文章作者 100test 发表时间 2007:03:13 22:11:37
来源 100Test.Com百考试题网
13. 属性和代码如下:
1. wroot_dw_query属性:
X = 9 Y = 1132 Width = 2912 Height = 712
Visible = true Enabled = true TitleBar = true Title = "定位查询"
ControlMenu = true Border = true WindowType = response! WindowState = normal!
BackColor = 79741120
2. 窗口实例变量:
Boolean ib_changed
Long MaxEditRow = 1
String sWhere, oldsql, orisql, is_title, is_section = WhereClause
DataWindow dw_result,dw_detail
pfc_n_cst_string inv_string
string sSyntax
注释:a.pfc_n_cst_string 为PFC用户对象。
3. 窗口事件代码:
3.1 close 事件:
功能:将用户本次所输入的查询条件记录到文件sIniFile的WhereClause1...n小节中去以备下次启动时置初始查询条件。