VB中用dao查询Microsoft Office Access在windosws 7显示不太正常 1.如查询DEB表,有索引字段[sybh]为字符型 sql="SELECT * from DEB WHERE sybh='101010200'" Set rst = dbdek.OpenRecordset(sql) 在windows 7中无法查询到数据,如在windows xp 可以查到 sql查询没有错误
2.如查询DEB表,有索引字段[sybh]为字符型改为长整型 sql="SELECT * from DEB WHERE sybh=101010200" Set rst = dbdek.OpenRecordset(sql) 在windows 7中可以查询到数据,如在windows xp 可以查到
谢谢!Please remember to mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.