把1楼代码排版弄好一点,自己都能看出问题啦。

授人以渔,不授人以鱼。
程序代码:If Allt(Thisform.txt学号.Value)==""
Messagebox("请输入完整的必要信息!",64,"提示")
Thisform.txt学号.SetFocus
RETURN
ENDIF
If Allt(Thisform.txt姓名.Value)==""
Messagebox("请输入完整的必要信息!",64,"提示")
Thisform.txt姓名.SetFocus
RETURN
ENDIF
If Allt(Thisform.txt出生年月.Value)==""
Messagebox("请输入完整的必要信息!",64,"提示")
Thisform.txt出生年月.SetFocus
RETURN
ENDIF
If Allt(Thisform.txt语文.Value)==""
Messagebox("请输入完整的必要信息!",64,"提示")
Thisform.txt语文.SetFocus
RETURN
ENDIF
If Allt(Thisform.txt数学.Value)==""
Messagebox("请输入完整的必要信息!",64,"提示")
Thisform.txt数学.SetFocus
RETURN
ENDIF
If Allt(Str(Thisform.txt奖学金.Value))==""
Messagebox("请输入完整的必要信息!",64,"提示")
Thisform.txt奖学金.SetFocus
RETURN
ENDIF
Append Blank
Repla 学号 With Alltr(Thisform.txt学号.Value)
Repla 姓名 With Thisform.txt姓名.Value
Repla 语文 With Thisform.txt语文.Value
Repla 数学 With Thisform.txt数学.Value
Repla 出生年月 With Thisform.txt出生年月.Value
Repla 奖学金 With Thisform.txt奖学金.Value
Messagebox("添加成功")不要套在一起
