【发布时间】:2019-03-06 05:31:50
【问题描述】:
我的数据窗口搜索功能“期待 STRING 表达式”中出现此错误,谁能帮我解决这个问题。以下是我的代码。
在我的标题列表中 ue_search() 返回(无)事件
string s_criteria
openwithparm(w_fm210search, parent)
s_criteria = Message.StringParm
This.TriggerEvent("ue_findrec", 0, s_criteria)
并且在我的 headerlist 中 ue_findrec() 返回 (none) 事件
string PassedString
long l_row, l_count
PassedString = String(Message.LongParm, "address")
if trim(PassedString) <> "NULL" then
// find row
l_count = This.RowCount()
l_row = This.Find(PassedString, 1, l_count)
if l_row = 0 then
gucc_function.uof_message(032)
l_row = 1
end if
If l_row >= 0 then
This.ScrollToRow(l_row)
This.SelectRow(0, FALSE)
This.SelectRow(l_row, TRUE)
end if
end if
【问题讨论】: