-- 作者:1234567
-- 发布时间:2024/8/27 9:37:00
-- 删除字符串中的指定内容
Dim dr As DataRow
With DataTables("目录树过滤")
dr = .Find("表名 = \'工艺内容\' AND 列名 = \'加工人\'", "", 0)
End With
Dim txt2 As String = dr("过滤条件")
Dim tr As Row
If e.Form.DropTable IsNot Nothing Then
tr = e.Form.DropTable.Current
Dim txt1 As String = tr("加工人")
txt1 = """, \'" & txt1 & "\'"""
\' msgbox(txt1)
End If
txt2 = txt2.Replace(txt1, "")
此主题相关图片如下:6.png

|