以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  代码修改  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=171619)

--  作者:jick0526
--  发布时间:2021/9/4 16:09:00
--  代码修改
老师,请问下,下面这段代码的 C列 is not null 我如果想改成C列如果等于“已出售”要怎么改,谢谢!

Dim Result As DialogResult
Result = MessageBox.Show("上传", "提示", MessageBoxButtons.YesNo,  MessageBoxIcon.Question)
If Result = DialogResult.Yes Then
    Dim f As New Filler
f.SourceTable = DataTables("表A") 
f.DataTable = DataTables("表B") 
f.Filter = "A列 is not null and B列 is not null and C列 is not null"
f.Distinct = False
f.Fill() \'填充数据
End If

--  作者:有点蓝
--  发布时间:2021/9/4 16:39:00
--  
f.Filter = "A列 is not null and B列 is not null and C列 =‘已出售’"