jskfan
asked on
Open MSaccess for in a different database
I have a form with a button, and I am trying to open a form located in a different database. but I receive a message < the form name "frmcustomer" is misspeled or refers to a form that doesn't exist>
Private Sub Command0_Click()
Dim con As ADODB.Connection
Set con = New ADODB.Connection
con.Open "provider=microsoft.jet.ol edb.4.0;" & _
"data source=c:\new folder\thecornerbookstore. mdb;"
DoCmd.OpenForm "frmCustomer"
End Sub
any idea?
thanks
Private Sub Command0_Click()
Dim con As ADODB.Connection
Set con = New ADODB.Connection
con.Open "provider=microsoft.jet.ol
"data source=c:\new folder\thecornerbookstore.
DoCmd.OpenForm "frmCustomer"
End Sub
any idea?
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.