以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  【求助】多行文本如何处理为sql查询条件  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=152742)

--  作者:chen_sheng
--  发布时间:2020/7/20 15:43:00
--  【求助】多行文本如何处理为sql查询条件
如下例子 当只有一个订单编号没有问题 ,多个订单编号就有问题了 查询不了 请问这种情况该如何处理
Dim ddbhk As WinForm.TextBox = e.Form.Controls("Text订单编号")
Dim ddbh As String = ddbhk.Text
Tables(e.Form.Name & "_Table3").SQLLoad("订单编号 in(\'" & ddbh & "\')")

--  作者:有点蓝
--  发布时间:2020/7/20 15:55:00
--  
Tables(e.Form.Name & "_Table3").SQLLoad("订单编号 in(\'" & ddbh.replace(vbcr,"").replace(vblf,"\',\'") & "\')")