اذهب الي المحتوي
أوفيسنا

عكس هذا كود


Matin_Murad
إذهب إلى أفضل إجابة Solved by ابو ياسين المشولي,

الردود الموصى بها

DoCmd.SetWarnings False
Dim x1
(x1 = Nz(DLookup("barcode", "tabl1", "[barcode] = " & Me.aa), 0)
If x1 = 0 Then
"MsgBox "This code is not registered", vbMsgBoxRight + vbCritical, "notes"
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDeleteRecord
Exit Sub
End If

السلام عليكم ..... اريد اضهار msgbox هذا كود مسجل ( This is a registered code )'

رابط هذا التعليق
شارك

  • أفضل إجابة

جرب

DoCmd.SetWarnings False
Dim x1
(x1 = Nz(DLookup("barcode", "tabl1", "[barcode] = " & Me.aa), 0)
If x1 = 0 Then
"MsgBox "This code is not registered", vbMsgBoxRight + vbCritical, "notes"
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDeleteRecord
else
MsgBox " This is a registered code", vbMsgBoxRight + vbCritical, "notes"
Exit Sub
End If

 

 

  • Like 1
رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information