以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  right函数为啥不能用呢?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=136669)

--  作者:xxfoxtable
--  发布时间:2019/6/18 17:56:00
--  right函数为啥不能用呢?
Dim dr As DataRow=DataTables("出租").find("right(单号,4)=\'" & dh.text &"\' And 业务性质=\'出租\'")
--  作者:有点甜
--  发布时间:2019/6/18 18:28:00
--  

只能用substring,如

 

substring(单号, len(单号)-4, 4)