[求助]请大家看看这段程序
Dim mst As ADODB.RecordsetDim ms As String
ms = "select * from DIRECTORY where NAME_CHINESE= " & TreeView1.SelectedItem & " and ID=" & Val(Split(TreeView1.SelectedItem.Key, "\")(0)) & ""
Set mst = ExecuteSQL(ms)
MsgBox mst!id
请问这段程序为什么运行到MsgBox mst!id总是报错!!! "对象变量或with块变量未设置"