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

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

قام بنشر

 Dim wrkDefault As Workspace
   Dim dbsNew As Database
   Dim strPaht As String
   Dim dbNAME As String
   strPath = Application.CurrentProject.Path & "\"
   dbNAME = strPath & Forms!Form!strDBName.Value & ".mdb"
   Set wrkDefault = DBEngine.Workspaces(0)
   Set dbsNew = wrkDefault.CreateDatabase(dbNAME, dbLangGeneral, dbEncrypt)
   dbsNew.Close

قام بنشر

تم وجود الحل

وهو


Public Function CreateDatabase()

   Dim wrkDefault As Workspace
   Dim dbsNew As Database
   Dim strPaht As String
   Dim dbNAME As String
   strPath = Application.CurrentProject.Path & "\"
   dbNAME = strPath & Forms!Form!strDBName.Value & ".mdb"
   Set wrkDefault = DBEngine.Workspaces(0)
   Set dbsNew = wrkDefault.CreateDatabase(dbNAME, dbLangGeneral)
   dbsNew.Close
End Function

انشئ حساب جديد او قم بتسجيل دخولك لتتمكن من اضافه تعليق جديد

يجب ان تكون عضوا لدينا لتتمكن من التعليق

انشئ حساب جديد

سجل حسابك الجديد لدينا في الموقع بمنتهي السهوله .

سجل حساب جديد

تسجيل دخول

هل تمتلك حساب بالفعل ؟ سجل دخولك من هنا.

سجل دخولك الان
  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information