我建了一个access的数据库
表名为  backbase
里面有2个字段,build和floor 他们的类型都是数字
现在我想查询,条件是同时满足build和floor的要求
我的select语句是这么写的
set rs=db.OpenRecordset("select build,floor from backbase where build='"+combo1.ListIndex+"' and floor = '"+combo2.ListIndex+"'")combo1和combo2是我用来获得输入的两个控件但是运行时总是提示type mismatch,说是类型不匹配
那我该怎么改呢