看板 Visual_Basic 關於我們 聯絡資訊
※ 引述《GoodTauSo (Do live Loop)》之銘言: : SQL經常會寫超過畫面(adodb.source = "select.........from.....where....union all....") : 運算式可以用 _ 換行 : 字串要如何換行呢? sql = "" sql = sql & "select * from t " sql = sql & "where id = 3" adodb.Source = sql sql = "select * from t " sql = sql & "where id = 3" adodb.Source = sql sql = "select * from t " & _ "where id = 3" adodb.Source = sql -- 個人偏好第一種寫法,因為比較整齊 囧 -- ▃▅▇▆▄ ▆▂▃ ` 逝去感如何能留住,半點遺留殊不易,██▅▇▄▃ ▇▃▂" . █████████▃i ▁▄▇ 更多悽悽慘慘的遭遇………██▆▃ █▅▆▃ˍ▄* ▂█▄▇▅▂. 我不知道,王~八~蛋~~! ▂▆███ █▄▃ 。fumizuki。Check。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.194.223.71