Re: too many modules
- From: jWhytis <jWhytis@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 May 2009 17:31:01 -0700
Thanks Marshall,
Hard to imagine and true, we have enough forms and reports with code behind
them that we are worried about module count. We only have 32 pure modules,
the rest are behind forms and reports. I will look into the library database
concept and see what it does for us. Thanks for the help.
"Marshall Barton" wrote:
jWhytis wrote:.
I have an MSAccess database that is slowly creeping toward the maximum
allowed module count. I have been asked to find a workaround past this
limit. We are currently using Access 2003 and are planning to migrate to
Access 2007. Before the databases are distributed to the users they are
converted to mde files.
I have created a solution that launches a “parent” access .mdb/mde and
spawns “child” mdb/mdes using automation. The idea here would be to spread
the forms & modules across multiple mdbs and switch between them based on
user need. This works with the notable problem of when the child apps need
to act on the parent app the only way to reference the “parent” is to use the
getObject method. While it works in test, the parent app has to be the first
MSAccess application open and the doc on getObject says the order of objects
returned is not guaranteed.
Because of these problems I’m being asked if there is a way to:
1. Create two mdes, Amdb.mde and Bmdb.mde and from Amdb.mde call a form in
Bmdb.mde in such a way the form from Bmdb.mde comes up in Amdb.mde.
2. Use references to create forms/modules that reside outside the mde file
but can be used within the mde – Perhaps ActiveX controls or dlls?
3. Some other thing we have not been clever enough to think of.
It's is very difficult to imagine a db with a thousand
form/report modules, class modules and standard modules.
How about just combining bunches of your standard modules?
A relatively sane approach is to create a library mde with
many/most of your existing standard modules.
Using forms/reports in one db from another db is not
something to get involved with if there is any other way to
deal with the problem.
--
Marsh
MVP [MS Access]
- Follow-Ups:
- Re: too many modules
- From: Graham Mandeno
- Re: too many modules
- From: Marshall Barton
- Re: too many modules
- References:
- too many modules
- From: jWhytis
- Re: too many modules
- From: Marshall Barton
- too many modules
- Prev by Date: Re: too many modules
- Next by Date: Re: comparing data without a unique identifier
- Previous by thread: Re: too many modules
- Next by thread: Re: too many modules
- Index(es):
Relevant Pages
|