Hi
Is it possible to save Modules in Access the way they are saved in
Excel?
Excel uses Personal.xls for using macros on every Worksheet.
Is there a Personal space in MS Access where to store Modules the same
way? So you can use them on every DB.
Thx
LC 12 1828 ca******@yahoo.com wrote: Hi Is it possible to save Modules in Access the way they are saved in Excel?
Excel uses Personal.xls for using macros on every Worksheet.
Is there a Personal space in MS Access where to store Modules the same way? So you can use them on every DB.
Thx LC
I've never heard of it. I usually do File/GetExternalData/Import.
I suppose you could have a blank database and when you create a new one
you could copy it over.
You could also make a reference to that database that holds the macros.
Create a new database. Open up a code module, select References,
browse to the MDB that contains the macros and set a reference to it.
Now call a macro from the other MDB.
You can go to http://groups.google.com advanced search and enter
*Access* for groups and
run macro from another database
for the words to search and you'll get lots of hits.
<duncecap=ON>
Is that what an MDA file is for? Then you can just reference it in
your References list and just use all the code in its libraries?
I *did* check the help files, but they were of no help!
<duncecap=OFF> ca******@yahoo.com wrote: Hi Is it possible to save Modules in Access the way they are saved in Excel?
Excel uses Personal.xls for using macros on every Worksheet.
Is there a Personal space in MS Access where to store Modules the same way? So you can use them on every DB.
Yes.
Create an MDA (or an MDB, an MDA is just an MDB renamed), put all your
code in there, then in your main database, set a reference to it.
--
[OO=00=OO]
How many seconds does it take to import a bunch of modules from another
db?
How many seconds does it take to save modules as ".bas" files and to
import them into another db?
How many of our procedures need a little tweeking for a new
application?
How many of our procedures could benefit from that little tweeking?
How significant is the number of modules to the size of a db?
Who wants two files when one will do?
Trevor Best <no****@besty.org.uk> wrote in
news:42***********************@news.zen.co.uk: ca******@yahoo.com wrote: Hi Is it possible to save Modules in Access the way they are saved in Excel?
Excel uses Personal.xls for using macros on every Worksheet.
Is there a Personal space in MS Access where to store Modules the same way? So you can use them on every DB.
Yes.
Create an MDA (or an MDB, an MDA is just an MDB renamed), put all your code in there, then in your main database, set a reference to it.
I forget if putting the MDA in the Access application folder will
cause it to be automatically loaded. ???
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
"lylefair" <ly******@yahoo.ca> wrote in
news:11********************@g14g2000cwa.googlegrou ps.com: How many seconds does it take to import a bunch of modules from another db? How many seconds does it take to save modules as ".bas" files and to import them into another db? How many of our procedures need a little tweeking for a new application? How many of our procedures could benefit from that little tweeking? How significant is the number of modules to the size of a db? Who wants two files when one will do?
How do you then manage code updates to your shared library? Delete
and import the modules every time you start the application?
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
David W. Fenton wrote: Trevor Best <no****@besty.org.uk> wrote inCreate an MDA (or an MDB, an MDA is just an MDB renamed), put all your code in there, then in your main database, set a reference to it.
I forget if putting the MDA in the Access application folder will cause it to be automatically loaded. ???
I don't think so.
--
[OO=00=OO]
lylefair wrote: How many seconds does it take to import a bunch of modules from another db? How many seconds does it take to save modules as ".bas" files and to import them into another db? How many of our procedures need a little tweeking for a new application? How many of our procedures could benefit from that little tweeking? How significant is the number of modules to the size of a db? Who wants two files when one will do?
Times the number of front ends using that code, times the number of
times you update that code, a bloody lot.
--
[OO=00=OO]
Trevor Best <no****@besty.org.uk> wrote in
news:42***********************@news.zen.co.uk: David W. Fenton wrote: Trevor Best <no****@besty.org.uk> wrote inCreate an MDA (or an MDB, an MDA is just an MDB renamed), put all your code in there, then in your main database, set a reference to it.
I forget if putting the MDA in the Access application folder will cause it to be automatically loaded. ???
I don't think so.
Was that only in Access 2?
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Trevor Best <no****@besty.org.uk> wrote in
news:42***********************@news.zen.co.uk: lylefair wrote: How many seconds does it take to import a bunch of modules from another db? How many seconds does it take to save modules as ".bas" files and to import them into another db? How many of our procedures need a little tweeking for a new application? How many of our procedures could benefit from that little tweeking? How significant is the number of modules to the size of a db? Who wants two files when one will do?
Times the number of front ends using that code, times the number of times you update that code, a bloody lot.
Is it possible to deploy a single copy of your library on a server
and have multiple users of your front end(s) with references to the
same MDE?
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
David W. Fenton wrote: Is it possible to deploy a single copy of your library on a server and have multiple users of your front end(s) with references to the same MDE?
I've never tried it, I don't know if any network issues might pop up in
the same way that running a shared front end off a network share.
--
[OO=00=OO]
Trevor Best <no****@besty.org.uk> wrote in
news:42***********************@news.zen.co.uk: David W. Fenton wrote: Is it possible to deploy a single copy of your library on a server and have multiple users of your front end(s) with references to the same MDE?
I've never tried it, I don't know if any network issues might pop up in the same way that running a shared front end off a network share.
It's all read-only, so it ought to work. And you're not opening
anything that has properties that Access wants to save (like form
filters), so there wouldn't be any write collisions.
Seems like it ought to work.
Might be a performance problem, though.
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andrew Wrigley |
last post by:
Hi
I have a database that works OK except in two regards, that I suspect
are related.
Problem 1. After even minor changes to a form module (ContactFrm),
such as editing a comment, I hit the...
|
by: Ross A. Finlayson |
last post by:
Hi,
I'm scratching together an Access database. The development box is
Office 95, the deployment box Office 2003.
So anyways I am griping about forms and global variables. Say for
example...
|
by: Lauren Quantrell |
last post by:
At running the risk of asking how big is too big...
Is there a rule of thumb or a best practice that says I may have too
many modules? I currently have a Access2K app with about 30 code
modules,...
|
by: Kevin |
last post by:
I come up with these questions during the day, do some research, and then
look for experienced users' input.
1. In Access, we already know it's pretty much an automatic save if you
enter data. ...
|
by: Pedro Leite |
last post by:
Good Afternoon.
the code below is properly retreiving binary data from a database and saving
it. but instead of saving at client machine is saving at the server machine.
what is wrong with my...
|
by: Frank |
last post by:
Hi,
I want to create some modules to use them in my programs. Now the
problem is, how to add the path to these modules permanently to the
python search path.
For example:
import sys...
|
by: Jsnova864 |
last post by:
Hi, I got a few simple q's, I think. I'm making a pretty simple RPG but my program is getting too big for me to handle. I’m trying to figure out how to use modules to organize it and I figured out...
|
by: peridian |
last post by:
Hi,
I have the below code to transfer code modules between Access database files. I have three problems, only one of which is annoying.
a) How do you prevent the Save As box from appearing...
|
by: Roy Tong |
last post by:
I maintain a shared database on Access 97. I've just tried converting
a test copy of the database to 2003 and it appeared to work OK. That
is I got no error messages. However then I look at my...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |