عندى نموذج يحتوى عدد 20 منطقة تخريم وكل منطقة يتكون من حقليين
Perforation Interval (F)
Perforation Interval (To)
كما يظهر بالجدول والمطلوب
عمل كود للاتى
عند فتح النموذج يحدث الاتى
1
- تكون منطقة التخريم Perforation Interval No.1 قابلة للتعديل (Enabled = Yes) من خلال الحقل ن ي Perforation Interval (F) و Perforation Interval (To)
2
- كل من مناطق التخريم التالي اسمائهم
▪
Perforation Interval No.2
▪
Perforation Interval No.3
▪
Perforation Interval No.4
▪
Perforation Interval No.5
▪
Perforation Interval No.6
▪
Perforation Interval No.7
▪
Perforation Interval No.8
▪
Perforation Interval No.9
▪
Perforation Interval No.10
▪
Perforation Interval No.11
▪
Perforation Interval No.12
▪
Perforation Interval No.13
▪
Perforation Interval No.14
▪
Perforation Interval No.15
▪
Perforation Interval No.16
▪
Perforation Interval No.17
▪
Perforation Interval No.18
▪
Perforation Interval No.19
▪
Perforation Interval No.20
تكون مناطق التخريم enable=No ولا تتحول الي enable=yes الا بعد ادخال قيم منطقة التخريم السابقة لها فعلى سبيل المثال
•
تكون منطقة التخريم Perforation Interval No.2 غ ي قابلة للتعديل الا بعد ادخال حقول منطقة التخريم الاولى
Perforation Interval No.1
•
تكون منطقة التخريم Perforation Interval No.3 غ ي قابلة للتعديل الا بعد ادخال حقول منطقة التخريم الاولى
Perforation Interval No.1 والثانية Perforation Interval No.2
•
تكون منطقة التخريم Perforation Interval No.4 غ ي قابلة للتعديل الا بعد ادخال حقول منطقة التخريم الاولى
Perforation Interval No.1 والثانية Perforation Interval No.2 والثالثة Perforation Interval No.3
•
وهكذا الى با ى ق مناطق التخريم ح ى ت المنطقة رقم 20
3
- لا يمكن ادخال قيمة للحقل Perforation Interval-1 (To) الا بعد ادخال قيمة فى الحقل Perforation Interval-1 (F)
وهكذا فى باقى مناطق التخريم
Perforation Interval No.2
Perforation Interval No.3
Perforation Interval No.4
Perforation Interval No.5
Perforation Interval No.6
Perforation Interval No.7
Perforation Interval No.8
Perforation Interval No.9
Perforation Interval No.10
Perforation Interval No.11
Perforation Interval No.12
Perforation Interval No.13
Perforation Interval No.14
Perforation Interval No.15
Perforation Interval No.16
Perforation Interval No.17
Perforation Interval No.18
Perforation Interval No.19
Perforation Interval No.20
▪
قيمة لحقل Perforation Interval-1 (To) يجب ان تكون اكبر من قيمة الحقل Perforation Interval-1 (F)
وهكذا بالنسبة لباقى مناطق التخريم
Perforation Interval No.2
Perforation Interval No.3
Perforation Interval No.4
Perforation Interval No.5
Perforation Interval No.6
Perforation Interval No.7
Perforation Interval No.8
Perforation Interval No.9
Perforation Interval No.10
Perforation Interval No.11
Perforation Interval No.12
Perforation Interval No.13
Perforation Interval No.14
Perforation Interval No.15
Perforation Interval No.16
Perforation Interval No.17
Perforation Interval No.18
Perforation Interval No.19
Perforation Interval No.20
ثانيا قيمة الحقل المدخلة فى Perforation Interval-2 (F) يجب ان تكون اكبر من او يساوى قيمة الحقل المدخلة فى
Perforation Interval-1 (To)
وهكذا فى باقى مناطق التخريم Perforation Interval No.3
Perforation Interval No.4
Perforation Interval No.5
Perforation Interval No.6
Perforation Interval No.7
Perforation Interval No.8
Perforation Interval No.9
Perforation Interval No.10
Perforation Interval No.11
Perforation Interval No.12
Perforation Interval No.13
Perforation Interval No.14
Perforation Interval No.15
Perforation Interval No.16
Perforation Interval No.17
Perforation Interval No.18
Perforation Interval No.19
Perforation Interval No.20
ثالثا" مناطق التخريم المذكورة حقولها تكون متاحة فى حالة اذا ما كانت المناطق اللتى قبلها تم وضع بيانات فى سجلها Perforation Interval (F) & Perforation Interval (To)
مملوءة بالداتا فعلى سبيل المثال حقل Perforation Interval No.3 يكون غير قابل للتمكين فى حالة عدم وجود ببيانات فى
حقلى Perforation Interval No.2 وهكذا في باقى المناطق حيث لا يمكن الاذافة على المنطقة رقم 4 الا بعد دخول
البيانات فى حقول المناطق رقم 1 و 2 و 3
هذا الجدول يحتوى علي اسماء الحقول امناطق التخريم حتى يتثنى عليك كتابة الاكواد لاستطيع نسخها مباشرة وكتابتها فى
البرنامج دون تعديل
المطلوب هو عمل الكود اللازم لما سبق ح ى ت يتم لصقة مبا ر شة ن ق الاكسس
production interval-2.PDF