应该改为cmd.CommandText = "Select dbo.py(姓名) From 表A Where _Identify =" & CurrentTable.Current("_Identify") & ""谢谢了,以后会好好学习的