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

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

قام بنشر

السلام عليكم أستاذتي واخواني الافاضل

أرجو المساعدة في التالي

المطلوب موضح في الصور التالية :

2020-05-07_00-49-32.png.8c6b0a20266a0942f5de0d39d59d9bae.png

 

قمت بوضع الكود التالي لكن يظهر خطاء ولا يقوم باخفاء الخيار المحدد بالكود

If Vn2 = False Then
[mm]!K2.Visible = False
End If

 

2020-05-07_00-57-50.png.bb74a8c902d84eb4e0b5b9817cc9bf13.png

 

شاكرا لكم على حسن التعاون معنا

========================

مرفق الملف للتعديل:

Database1.accdb

  • تمت الإجابة
قام بنشر

استبدلها بهذا

If Vn1 = 0 Then
Me.K1.Visible = False
End If

 

كودك بعد التعديل ....

On Error Resume Next
If Vn1 = 0 Then
Me.K1.Visible = False
End If

If Vn2 = 0 Then
Me.K2.Visible = False
End If

If Vn3 = 0 Then
Me.K3.Visible = False
End If

If Vn4 = 0 Then
Me.K4.Visible = False
End If

If Vn5 = 0 Then
Me.K5.Visible = False
End If

 

  • Like 2
  • Thanks 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