nabilbibo قام بنشر ديسمبر 30, 2016 مشاركة قام بنشر ديسمبر 30, 2016 السلام عليكم اخواني عندي سؤالين 1- كيف الغي عمل مفتاح الشفت 2- عندي برنامج للاجازات عندما قمت بفتحه في جهاز اخر امر معاينة التقرير عند الظغط عليه لا يفتح و يتجمد البرنامج اين المشكلة هنا وشكرااا رابط هذا التعليق شارك More sharing options...
صالح حمادي قام بنشر ديسمبر 30, 2016 مشاركة قام بنشر ديسمبر 30, 2016 السلام عليكم و رحمة الله تعالى و بركاته. قم بإنشاء وحدة نمطية جديدة و ألصق بها الكود التالي: Function ap_DisableShift() 'This function disable the shift at startup. This action causes 'the Autoexec macro and Startup properties to always be executed. On Error GoTo errDisableShift Dim db As DAO.Database Dim prop as DAO.Property Const conPropNotFound = 3270 Set db = CurrentDb() 'This next line disables the shift key on startup. db.Properties("AllowByPassKey") = False 'The function is successful. Exit Function errDisableShift: 'The first part of this error routine creates the "AllowByPassKey 'property if it does not exist. If Err = conPropNotFound Then Set prop = db.CreateProperty("AllowByPassKey", _ dbBoolean, False) db.Properties.Append prop Resume Next Else MsgBox "Function 'ap_DisableShift' did not complete successfully." Exit Function End If End Function Function ap_EnableShift() 'This function enables the SHIFT key at startup. This action causes 'the Autoexec macro and the Startup properties to be bypassed 'if the user holds down the SHIFT key when the user opens the database. On Error GoTo errEnableShift Dim db as DAO.Database Dim prop as DAO.Property Const conPropNotFound = 3270 Set db = CurrentDb() 'This next line of code disables the SHIFT key on startup. db.Properties("AllowByPassKey") = True 'function successful Exit Function errEnableShift: 'The first part of this error routine creates the "AllowByPassKey 'property if it does not exist. If Err = conPropNotFound Then Set prop = db.CreateProperty("AllowByPassKey", _ dbBoolean, True) db.Properties.Append prop Resume Next Else MsgBox "Function 'ap_DisableShift' did not complete successfully." Exit Function End If End Function خلف زر تعطيل مفتاح الشيفت ضع الكود التالي: ap_DisableShift خلف زر تفعيل مفتاح الشيفت ضع الكود التالي: ap_EnableShift رابط هذا التعليق شارك More sharing options...
nabilbibo قام بنشر ديسمبر 30, 2016 الكاتب مشاركة قام بنشر ديسمبر 30, 2016 بارك الله فيك اخي جزاك الله كل خير و مشكل معاينة التقرير لم اجد له حلا رابط هذا التعليق شارك More sharing options...
nabilbibo قام بنشر يناير 4, 2017 الكاتب مشاركة قام بنشر يناير 4, 2017 اخواني مازال مشكل معاينة التقرير لم يحل ممكن المساعدة و شكراااا رابط هذا التعليق شارك More sharing options...
صالح حمادي قام بنشر يناير 4, 2017 مشاركة قام بنشر يناير 4, 2017 ربما يكون من الطابعة الإفتراضية قم بتغيير الطابعة الإفتراضية للجهاز رابط هذا التعليق شارك More sharing options...
nabilbibo قام بنشر يناير 4, 2017 الكاتب مشاركة قام بنشر يناير 4, 2017 14 minutes ago, صالح حمادي said: ربما يكون من الطابعة الإفتراضية قم بتغيير الطابعة الإفتراضية للجهاز اخي صالح انا عندي طابعة واحدة فقط رابط هذا التعليق شارك More sharing options...
صالح حمادي قام بنشر يناير 4, 2017 مشاركة قام بنشر يناير 4, 2017 اخي نبيل سؤالك غير واضح هل البرنامج يشتغل على جهاز و جهاز آخر لا أم أنه لا يشتغل أصلا إذا كان كذلك أرفق نسخة و سنحاول التعديل عليها رابط هذا التعليق شارك More sharing options...
nabilbibo قام بنشر يناير 4, 2017 الكاتب مشاركة قام بنشر يناير 4, 2017 20 minutes ago, صالح حمادي said: ربما يكون من الطابعة الإفتراضية قم بتغيير الطابعة الإفتراضية للجهاز اخي صالح بارك الله فيك على ا الاجابة لقد فتحت موضوع اخر بخصوص هذا المشكل كما طلب مني وشكرااا رابط هذا التعليق شارك More sharing options...
Shivan Rekany قام بنشر يناير 4, 2017 مشاركة قام بنشر يناير 4, 2017 6 دقائق مضت, nabilbibo said: اخي صالح بارك الله فيك على ا الاجابة لقد فتحت موضوع اخر بخصوص هذا المشكل كما طلب مني وشكرااا تم الجواب عليه من هنا رابط هذا التعليق شارك More sharing options...
الردود الموصى بها
من فضلك سجل دخول لتتمكن من التعليق
ستتمكن من اضافه تعليقات بعد التسجيل
سجل دخولك الان