使用数据表的时候,不要使用数据库系统的保留字,例如 table name user row 如果用了,加上[ ] 试试吧,即 a.open "select * from [user] where [name]='"&lgname&"'",conn,1,1
[user] 加上[]