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

وضع تاريخ ميلاد لطالب


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

حقل تاريخ ووقت 

اريد كتابة تاريخ بداية وليكن ١ اكتوبر ٢٠١٢  وتاريخ نهاية وليكن ١ اكتوبر ٢٠١٥ 

بمعنى الى عمره من ٣ سنوات الى ٦ سنوات 

اكبر من ٦ سنوات يتم رفض كتابة تاريخ ميلاده 

واصغر من ٣ سنوات يتم رفض تاريخ ميلاده 

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

جرب 

im strtd, endd, curD As Date
strtd = DLookup("[StrDate]", "tblBerthDateSetting")
endd = DLookup("[EndDate]", "tblBerthDateSetting")
curD = Text0

If curD >= strtd And endd >= curD Then

MsgBox "مقبول"
Else
MsgBox "خطا"
End If
 

تم تعديل بواسطه tharwt
رابط هذا التعليق
شارك

هوه الكود الى بعتهولى ابا جودى واشتغل بس بيدينى الرساله عند كل تسجيل ومش متغير يا مقبول باستمرار يا خطا باستمرار 

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

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