【发布时间】:2017-03-22 05:36:40
【问题描述】:
IF EMPTY(thisform.docnum.value)=.T. or EMPTY(thisform.doctype.value)=.T. then
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
ELSE
IF EMPTY(thisform.doctitle.value)=.T. or EMPTY(thisform.docdate.value)=.T. then
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
ELSE
IF EMPTY(thisform.recdate.value)=.T. or EMPTY(thisform.pubdate.value)=.T. then
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
ELSE
IF EMPTY(thisform.sector.value)=.T. or EMPTY(thisform.cluster.value)=.T. then
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
ELSE
IF EMPTY(thisform.region.value)=.T. or EMPTY(thisform.revision.value)=.T. then
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
ELSE
IF EMPTY(thisform.procby.value)=.T. or EMPTY(thisform.revby.value)=.T. then
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
ELSE
IF EMPTY(thisform.encby.value)=.T. then
ELSE
MESSAGEBOX("Unabled to save all fields required !",0+64,"Warning")
当我点击我的添加按钮并且没有人在我的文本框中输入时,它会弹出警告消息,但它可以将它保存在我的表格中。你能帮我解决我的代码问题吗,当没有人输入时,它无法保存在我的表格中。谢谢
【问题讨论】:
标签: sql visual-foxpro