一个combo ,目的要把combo的值,当做查询语句的where条件我写的是: Dim cx As String
cx = Combo1.Text ' 这里有学生名字
Set rs = db.OpenRecordset("select age, sex from class where name=" & cx)
=======================================
总是参数不足,请问是不是连接符写错了!
cx = Combo1.Text ' 这里有学生名字
Set rs = db.OpenRecordset("select age, sex from class where name=" & cx)
=======================================
总是参数不足,请问是不是连接符写错了!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货