U3F1ZWV6ZTIyMDQ4MjY4MjEyMjA5X0ZyZWUxMzkwOTk1NDEyMDg5MQ==

كود استعاده اعدادت الاكسس هام جدااااا للمبرمج CurrentProject




مهارات فى اكسيس
مسلسلاسم الملفلينكالمدة ب الدقيقة
1 معرفة عدد الاحرف او الكلمات الموجودة في احد الحقول في اكسيس Dcounthttps://youtu.be/WE0_of3cU0g12
2كيفية اخفاء شاشة الاكسس واظهار شاشة البرنامج مباشرةhttps://youtu.be/ePZKCngCXhI3
3برنامج أدخل تاريخ ميلادك يعطيك عمرك بالسنة و الشهر و اليوم MS Access Skillshttps://youtu.be/kuocx5KbRbk5
4مهارة تنسيق التاريخ فى اكسيس من خلال الدالة و formathttps://youtu.be/ma1CJv2YFZQ10
5مهارة تقسيم الإسماء دفعة واحدة فى اكسيس MS Access VBA ج1https://youtu.be/mBUP70LnOdk10
6مهارة تقسيم الإسماء دفعة واحدة فى اكسيس MS Access VBA ج2https://youtu.be/_GZzAtDjTe017
7مهارة تقسيم الإسماء دفعة واحدة فى اكسيس MS Access VBA ج3https://youtu.be/v_hXCFXO0gc17
8مهارة تقسيم الإسماء دفعة واحدة فى اكسيس MS Access VBA ج4https://youtu.be/kD-bFyi3dVA10
9مهارة تقسيم الإسماء دفعة واحدة فى اكسيس MS Access VBA ج5https://youtu.be/EPwSiIxkjvw9
10شرح بعض أوامر Docmd ج1https://youtu.be/UTL2MZc-u6Y13
11شرح بعض أوامر Docmd ج3https://youtu.be/SqwFND-10rI10
12شرح الامر DoCmd OutputTo لتصدير الملفات من اكسيس الى صيغ مختلفة acFormatPDFhttps://youtu.be/zRHXr4UbZ-010
13شرح بعض أوامر Docmd DoCmd RunSQLhttps://youtu.be/1Gu57sq2wQQ0
14شرح بعض أوامر Docmd جزء اخيرhttps://youtu.be/aypOAX7h4CE0
15كود استعاده اعدادت الاكسس هام جدااااا للمبرمج CurrentProjecthttps://youtu.be/R_xi0JePnBo10
1000 قائمة ملفات الكورس الاول -- تعلم اكسيس وقواعد بيانات MS Accesshttps://www.youtube.com/playlist?list=PLMmy9Ec9B98wxI2RWVrjjtyV2knTFoR1t0
2000 Programming Access VBA قائمة ملفات الكورس الثانى-- البرمجة فى اكسيس https://www.youtube.com/playlist?list=PLMmy9Ec9B98ymtXXOLw2FeolA904Z-OsH0

 استعاده اعدادت الاكسس

 استخدم هذا الكود من خلال وحدة نمطية واستدعيه من خلال النموذج
 وهناك بعد الاختلافات حسب نوع الأوفيس






Attribute VB_Name = "Module3"
Option Compare Database

Function SetOptions()

'استعاده اعدادت الاكسس

'استخدم هذا الكود من خلال وحدة نمطية واستدعيه من خلال النموذج
'وهناك بعد الاختلافات حسب نوع الأوفيس

'View Tab
Application.SetOption "Show Status Bar", -1
Application.SetOption "Show Startup Dialog Box", -1
Application.SetOption "Show Hidden Objects", -1
Application.SetOption "Show New Object Shortcuts", -1
Application.SetOption "Show System Objects", -1
Application.SetOption "Show Macro Names Column", -1
Application.SetOption "Show Conditions Column", -1
Application.SetOption "Database Explorer Click Behavior", 1
Application.SetOption "ShowWindowsInTaskbar", -1

'General Tab
Application.SetOption "Left Margin", 5
Application.SetOption "Right Margin", 5
Application.SetOption "Top Margin", 5
Application.SetOption "Bottom Margin", 5
Application.SetOption "Four-Digit Year Formatting", 0
Application.SetOption "Four-Digit Year Formatting All Databases", -1
Application.SetOption "Track Name AutoCorrect Info", -1
Application.SetOption "Perform Name AutoCorrect", -1
Application.SetOption "Log Name AutoCorrect Changes", 0
Application.SetOption "Enable MRU File List", -1
Application.SetOption "Size of MRU File List", 4
Application.SetOption "Provide Feedback with Sound", 0
Application.SetOption "Auto Compact", 0
Application.SetOption "New Database Sort Order", 1033
Application.SetOption "Remove Personal Information", 0

'Edit/Find Tab
Application.SetOption "Default Find/Replace Behavior", 0
Application.SetOption "Confirm Record Changes", -1
Application.SetOption "Confirm Document Deletions", -1
Application.SetOption "Confirm Action Queries", -1
Application.SetOption "Show Values in Indexed", -1
Application.SetOption "Show Values in Non-Indexed", -1
Application.SetOption "Show Values in Remote", 0
Application.SetOption "Show Values Limit", 1000

'Datasheet Tab
Application.SetOption "Default Font Color", 0
Application.SetOption "Default Background Color", 15
Application.SetOption "Default Gridlines Color", 8
Application.SetOption "Default Gridlines Horizontal", -1
Application.SetOption "Default Gridlines Vertical", -1
Application.SetOption "Default Column Width", 3
Application.SetOption "Default Font Name", "Arial Black"
Application.SetOption "Default Font Weight", 7
Application.SetOption "Default Font Size", 12
Application.SetOption "Default Font Underline", False
Application.SetOption "Default Font Italic", False
Application.SetOption "Default Cell Effect", 0
Application.SetOption "Show Animations", True
Application.SetOption "Show Smart Tags on Datasheets", True

Application.SetOption "Move After Enter", 1
Application.SetOption "Behavior Entering Field", 1
Application.SetOption "Arrow Key Behavior", 0
Application.SetOption "Cursor Stops at First/Last Field", -1

'Tables/Queries Tab
Application.SetOption "Default Text Field Size", 50
Application.SetOption "Default Number Field Size", 4
Application.SetOption "Default Field Type", 0
Application.SetOption "AutoIndex on Import/Create", ""
Application.SetOption "Show Table Names", -1
Application.SetOption "Output All Fields", 0
Application.SetOption "Enable AutoJoin", -1
Application.SetOption "Run Permissions", 1
Application.SetOption "Substitute Font Name", "Arial Black"

'Forms/Reports Tab
Application.SetOption "Selection Behavior", 0
Application.SetOption "Form Template", "Normal"
Application.SetOption "Report Template", "Normal"
Application.SetOption "Always Use Event Procedures", -1
Application.SetOption "Show Smart Tags on Forms", -1
Application.SetOption "Themed Form Controls", -1

'Advanced Tab
Application.SetOption "Default Record Locking", 0
Application.SetOption "Default Open Mode for Databases", 0
Application.SetOption "Ignore DDE Requests", 0
Application.SetOption "Enable DDE Refresh", -1
Application.SetOption "OLE/DDE Timeout (Sec)", 30
Application.SetOption "Number of Update Retries", 5
Application.SetOption "ODBC Refresh Interval (Sec)", 60
Application.SetOption "Refresh Interval (Sec)", 10
Application.SetOption "Update Retry Interval (Msec)", 250

'International Tab
Application.SetOption "Default direction", 1
Application.SetOption "General alignment", 0
Application.SetOption "Cursor movement", 0
Application.SetOption "Use Hijri Calendar", False

'Error Checking Tab
Application.SetOption "Enable Error Checking", -1

End Function


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

اليك كود  اخر   تم  شرحه  داخل  الفيديو
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Sub ApplicationInformation()
 ' Print name and type of current object.
 Debug.Print Application.CurrentProject.FullName
 Debug.Print Application.CurrentProject.ProjectType
 ' Set Hidden Objects option under Show on View Tab
 'of the Options dialog box.
 Application.SetOption "Show Hidden Objects", True
End Sub

=============================
اكواد  الفيديو
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Option Compare Database
Option Explicit


Private Sub btnAddSharedImage_Click()
    Stop
    CurrentProject.AddSharedImage "GoodImage", "c:\test\good.jpg"
    Me.imgGood.Picture = "GoodImage"
End Sub

Private Sub btnAllForms_Click()
    Stop
    Dim item As Object
    For Each item In CurrentProject.AllForms
        Debug.Print item.NAME & " " & item.DateModified
    Next
 
    Dim i As Integer
    For i = 0 To CurrentProject.AllModules.Count - 1
        Debug.Print CurrentProject.AllModules(i).FullName & " " & CurrentProject.AllModules(i).DateModified
    Next i
End Sub

Private Sub btnFileFormat_Click()
    Stop
    Debug.Print CurrentProject.FileFormat
    ' AcFileForma Enumeration - http://msdn.microsoft.com/en-us/library/ff821082(v=office.15).aspx
End Sub

Private Sub btnFullName_Click()
    Stop
    Debug.Print CurrentProject.FullName
End Sub

Private Sub btnIsConnected_Click()
    Stop
    Debug.Print CurrentProject.IsConnected
End Sub

Private Sub btnName_Click()
    Stop
    Debug.Print CurrentProject.NAME
   ' DoCmd.OutputTo acOutputReport, "Report1", acFormatPDF, "c:\test\" & Replace(CurrentProject.NAME, ".accdb", ".pdf"), False
End Sub

Private Sub btnPath_Click()
    Stop
    Debug.Print CurrentProject.Path

  '  Dim fso As Object
  '  Set fso = CreateObject("Scripting.FilesystemObject")
  '  fso.createfolder CurrentProject.Path & "\PDFs\"
    DoCmd.OutputTo acOutputReport, "Report1", acFormatPDF, CurrentProject.Path & "\PDFs\Report.pdf", False
 
    '    DoCmd.OutputTo acOutputReport, "Report1", acFormatPDF, CurrentProject.Path & "\Report.pdf", False
 
End Sub

Private Sub btnResources_Click()
    Stop
    Dim item As Object
    For Each item In CurrentProject.Resources
        If item.NAME = "GoodImage" Then item.Delete
    Next
    Me.imgGood.Picture = ""
End Sub

Private Sub Command55_Click()
Stop
  ' Print name and type of current object.
 Debug.Print Application.CurrentProject.FullName
 Debug.Print Application.CurrentProject.ProjectType
 ' Set Hidden Objects option under Show on View Tab
 'of the Options dialog box.
 Application.SetOption "Show Hidden Objects", True
 Application.SetOption "Show Status Bar", True


End Sub
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\






ليست هناك تعليقات
إرسال تعليق

إرسال تعليق

الاسمبريد إلكترونيرسالة