If Text1 = "" And Text5 = "" And Text2 = "" And Text3 = "" And Text4 = "" Then MsgBox "请将信息填写完整", 0, "提示"是不是这儿的问题,数据库里有没有设哪个字段为“非空”?你将and 变为or试试