اذا لم يكن لديك دالة تمكين الخواص ..فحسب اعتقادي لن تستطيع عمل شيء..فالخواص الرئيسية لديك غير ممكنة
وخاصة هذا السطر SetProperties "AllowBypassKey", dbBoolean, False المسؤول عن زر الشفت
Public Function EnableProperties()
On Error GoTo ErrorHandler:
DoCmd.ShowToolbar "Ribbon", acToolbarYes
SetProperties "StartUpShowDBWindow", dbBoolean, True
SetProperties "StartUpShowStatusBar", dbBoolean, True
SetProperties "AllowFullMenus", dbBoolean, True
SetProperties "AllowSpecialKeys", dbBoolean, True
SetProperties "AllowBypassKey", dbBoolean, True
SetProperties "AllowShortcutMenus", dbBoolean, True
SetProperties "AllowToolbarChanges", dbBoolean, True
SetProperties "AllowBreakIntoCode", dbBoolean, True
Exit Function
ErrorHandler:
MsgBox Err.Description
Exit Function
End Function