ابو ياسين المشولي قام بنشر يناير 5, 2018 قام بنشر يناير 5, 2018 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
ابو ياسين المشولي قام بنشر يناير 5, 2018 الكاتب قام بنشر يناير 5, 2018 تم وجود الحل وهو 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
الردود الموصى بها
انشئ حساب جديد او قم بتسجيل دخولك لتتمكن من اضافه تعليق جديد
يجب ان تكون عضوا لدينا لتتمكن من التعليق
انشئ حساب جديد
سجل حسابك الجديد لدينا في الموقع بمنتهي السهوله .
سجل حساب جديدتسجيل دخول
هل تمتلك حساب بالفعل ؟ سجل دخولك من هنا.
سجل دخولك الان