drtopserv
asked on
workspace creation in access 2010
Hi,
I put this in a form in access :
Workspace.CreateDatabase(B yVal Name As String, _
ByVal locale As String, _
ByVal options As Variant) As Database
Private Sub cmdDatabase_Click()
DBEngine.Workspaces(0).Cre ateDatabas e("Exercis e.accdb", . . .)
End Sub
not working when i click on the button in the access form ..
may any help :}
I put this in a form in access :
Workspace.CreateDatabase(B
ByVal locale As String, _
ByVal options As Variant) As Database
Private Sub cmdDatabase_Click()
DBEngine.Workspaces(0).Cre
End Sub
not working when i click on the button in the access form ..
may any help :}
ASKER
Yea i know that through DAO i can create the db.
but i`m asking why through the code i paste above can`t able to run it ..
it is just to learning purpose.
but i`m asking why through the code i paste above can`t able to run it ..
it is just to learning purpose.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window