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")
[追加]ボタンをクリックすると、テキストボックスに何も入力しなくても警告メッセージがポップアップ表示されますが、テーブルに保存できます。私のコードに何が問題になるのか教えてください。誰も入力しなければテーブルに保存できません。ありがとうテーブルに保存できないメッセージボックス