让SQL传回格式化后的数值

Private Sub StatusBar1_PanelClick(ByVal Panel As MSComctlLib.Panel)
Dim Rs As ADODB.Recordset
  Set Rs = Conn.Execute("select str(12,10,2)")
  MsgBox Rs.Fields(0)
End Sub
原文地址:https://www.cnblogs.com/yzx99/p/369827.html