vfp删除按钮的问题,现在只能标记,不能删除,pack命令不知道放哪
a=Trim(Thisform.txt教师编号.Value)
Locate For Alltrim(教师表.教师编号)=Alltrim(a)
If Eof()
Messagebox("没有找到指定的学号!")
Else
If Messagebox("确认要删除吗?",36,"系统提示!")=1
Dele
Messagebox("删除成功!")
Endif
Endif
thisform.Refresh
[此贴子已经被作者于2016-9-25 21:03编辑过]