OpenDatabase/OpenConnection commands
- From: "D Huber" <DHuber@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 12:26:03 -0700
I am trying to rewrite a database from an older version of Access to Access
2000. VBA is still fairly new to me and there is a single line of code that
is giving me a problem.
Set accrual = DBEngine.Workspaces(0).OpenDatabase("p:gautam\tables.mdb")
According to the book I have in the newer version of access, this line
should read:
Set accrual = DBEngine.Workspaces(0).OpenConnection("p:gautam\tables.mdb")
Neither of these lines work. Any help or suggestions?
.
- Follow-Ups:
- Re: OpenDatabase/OpenConnection commands
- From: Dirk Goldgar
- Re: OpenDatabase/OpenConnection commands
- Prev by Date: RE: How do I assign text to a table field via checkbox on a form?
- Next by Date: Value dependant upon combo box choice.
- Previous by thread: Use QBF to Display Search Results in Sub Form
- Next by thread: Re: OpenDatabase/OpenConnection commands
- Index(es):
Relevant Pages
|