以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- textbox换行 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=116855) |
-- 作者:pursdream -- 发布时间:2018/4/1 16:33:00 -- textbox换行 textbox中如何加入换行符? For Each cn As Connection In Connections Forms("数据库连接").Controls("TextBox1").value = Forms("数据库连接").Controls("TextBox1").value + cn.Name Forms("数据库连接").Controls("TextBox1").value = Forms("数据库连接").Controls("TextBox1").value + cn.ConnectionString Next 希望厉害的您指导一下!!!
|
-- 作者:有点甜 -- 发布时间:2018/4/1 19:49:00 -- Dim str As String = "" For Each cn As Connection In Connections str = str & cn.Name str = str & ":" & cn.ConnectionString & vbcrlf Next msgbox(str) Forms("数据库连接").Controls("TextBox1").value = Forms("数据库连接").Controls("TextBox1").value = str |