cmd.CommandText = "update " & b & " set 销售日期 = 2009-12-5 where 条形码编号 = " & a这句中的"b"表示数据表名,不知你的备注列的是否是列出的表名?