siebel2002
Programmer
Help, Please!
I have a command button in my access database with the following code for the onclick event. My need is to open the Employees database.
Sub cmdEmployessDatabase_Click()
Dim strPath As String
strPath = "C:\MyFolder\Employees.mdb"
OpenCurrentDatabase strPath
DoCmd.OpenForm "Employees", acNormal
End Sub
I dont see the database opening!! Please help!
I have a command button in my access database with the following code for the onclick event. My need is to open the Employees database.
Sub cmdEmployessDatabase_Click()
Dim strPath As String
strPath = "C:\MyFolder\Employees.mdb"
OpenCurrentDatabase strPath
DoCmd.OpenForm "Employees", acNormal
End Sub
I dont see the database opening!! Please help!