以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  如何把combolist转换为数组?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=98412)

--  作者:guning008
--  发布时间:2017/3/29 13:35:00
--  如何把combolist转换为数组?
我想把某列的combolist转换为一个数组,但是弄了半天也没成功。请老师帮忙! 谢谢!

Dim persons As String = Tables("Project").Cols("Person").ComboList
Dim rps() As String = { " & persons.Replace("|",""",""") & " }

--  作者:guning008
--  发布时间:2017/3/29 13:39:00
--  
刚刚想起来应该用split这个方法,忘记了,抱歉哈!