Re: Relink question
- From: "Graham Mandeno" <Graham.Mandeno@xxxxxxxxxxxxx>
- Date: Thu, 20 Nov 2008 11:02:57 +1300
Hi Bruce
Yes, you should Dim dbBE as DAO.Database. (It could be declared as Object,
but every database should have a reference to DAO anyway, so early binding
is faster and gives better compile-time checking.) In any case, it will
need to be declared.
BTW, EVERY variable you use should be declared. using implicit declaration
is asking for trouble. EVERY module, including Form and Report modules
should have Option Explicit at the top.
The path to the backend is just that - the full file path - for example:
"\\MyServer\SomeShare\My App Folder\Back-end file.mdb"
BTW, there is no law that says an Access database must have the extension
"MDB". All my backends are .ABE files (Access Back-End). It at least
discourages users from double-clicking on them to open them!
--
Good Luck :-)
Graham Mandeno [Access MVP]
Auckland, New Zealand
"BruceM" <bamoob@xxxxxxxxxxxxxxxx> wrote in message
news:OiysMhoSJHA.5900@xxxxxxxxxxxxxxxxxxxxxxx
I'll give that a try when I have a chance to get back to it, which may not
be tomorrow. Two more questions for now: Is there any need to made the
dbBE variable a DAO.Database? And is the path to the back end a path
first to the Access executable, followed by a switch that includes the
path to the BE (like with decompile, etc.), or is it just a direct path to
the BE file?
BTW, I don't think I have a project so far with more than maybe 20 tables
in a single BE database.
.
- Follow-Ups:
- Re: Relink question
- From: BruceM
- Re: Relink question
- References:
- Relink question
- From: BruceM
- Re: Relink question
- From: Graham Mandeno
- Re: Relink question
- From: BruceM
- Re: Relink question
- From: Graham Mandeno
- Re: Relink question
- From: BruceM
- Re: Relink question
- From: Graham Mandeno
- Re: Relink question
- From: BruceM
- Re: Relink question
- From: Graham Mandeno
- Re: Relink question
- From: BruceM
- Re: Relink question
- From: Tony Toews [MVP]
- Re: Relink question
- From: BruceM
- Re: Relink question
- From: Graham Mandeno
- Re: Relink question
- From: BruceM
- Relink question
- Prev by Date: Re: Help editing record set
- Next by Date: RE: store files (MDB)
- Previous by thread: Re: Relink question
- Next by thread: Re: Relink question
- Index(es):
Relevant Pages
|