Foxtable(狐表)用户栏目专家坐堂 → 代码


  共有2256人关注过本帖平板打印复制链接

主题:代码

帅哥哟,离线,有人找我吗?
sdscen
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:童狐 帖子:253 积分:2341 威望:0 精华:0 注册:2011/8/8 0:50:00
代码  发帖心情 Post By:2014/10/14 9:58:00 [只看该作者]

Dim nr As WinForm.TextBox = e.Form.Controls("查询内容")
Dim xzl As WinForm.ComboBox = e.Form.Controls("选择列")
Dim C As String =nr.Value
Dim d As WinForm.Label = e.Form.Controls("Label1")
Dim f As Table = Tables("主窗口_子窗体")
Dim b As Table = Tables("主窗口_子窗口2")
Dim shcx As WinForm.ComboBox = e.Form.Controls("审核查询")
Dim jscx As WinForm.ComboBox = e.Form.Controls("结算查询")
Dim ge As String = xzl.Text
If shcx.Value ="未审核" Then
    f.Filter ="审核状态 = false and ge Like '*" & c & "*'"
end if

这样写对吗 

 回到顶部