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

مشكلة - تم الغاء الاجراء


إذهب إلى أفضل إجابة Solved by ابوخليل,

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

  • أفضل إجابة

مكان الرسالة الصحيح هو في حدث زر الخروج وليس حدث اغلاق النموذج

عدل الى الى هذا

Private Sub أمر0_Click()
If MsgBox("هل تريد الخروج", vbInformation + vbYesNo, "تنبيه") = vbNo Then
    DoCmd.CancelEvent
    Exit Sub
 Else 
DoCmd.Close
End If
End Sub

 

  • 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