473,387 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Search Access Code/Modules/Macros in multiple MDB files

Hi There

We are migrating our network file system from Novell to Windows. (There are
pros and cons)....

In this process, we have noticed that a good bunch of user created access
databases have modules or macro code that points to:

\\NETWARESERVER\share\data

This, as you can imagine is bad. Our developers have always used the shared
drive in their databases so their code is like:

R:\data where R: is mapped to \\NETWARESERVER\share... (These databases are
then fine with a drive map change)

Since we are changing server names, I need a way to scan all the MDB's on
the network (About 2200+) for this code..

Are there any tools available to do this for me? Otherwise I have to open
each database one by one, and search the project for \\Netwareserver

Once I find out the number of databases (hopefully no more than a handful) I
can go and change the code.

Any suggestions would be appreciated.

Please reply with a post, or email te*********@hotmail.com

-Henry
Jul 18 '06 #1
3 2386
Henners wrote:
Hi There

We are migrating our network file system from Novell to Windows. (There are
pros and cons)....

In this process, we have noticed that a good bunch of user created access
databases have modules or macro code that points to:

\\NETWARESERVER\share\data

This, as you can imagine is bad. Our developers have always used the shared
drive in their databases so their code is like:

R:\data where R: is mapped to \\NETWARESERVER\share... (These databases are
then fine with a drive map change)

Since we are changing server names, I need a way to scan all the MDB's on
the network (About 2200+) for this code..

Are there any tools available to do this for me? Otherwise I have to open
each database one by one, and search the project for \\Netwareserver

Once I find out the number of databases (hopefully no more than a handful) I
can go and change the code.

Any suggestions would be appreciated.

Please reply with a post, or email te*********@hotmail.com

-Henry
It will be less than an hour's work to write code to scan all your mdb
files and replace \\NETWARESERVER\share\data everywhere with R:\Data or
whatever you want.

Hire someone who is located in your area to do this; probably you can
get it done quietly and sucessfully in a day for $100 USD. One problem
with this might be that in changing the drive reference hidden errors
might appear. These would have to be repaired.

If that's not suitable then you could study posts in here that deal
with SaveAsText and LoadFromText, low level DOS file functions and do
your own.

Another possibility is for you to do this manually. You can do a search
and replace on your code. Macros and SQL in saved queries may take a
little longer.

Jul 18 '06 #2
"Lyle Fairfield" <ly***********@aim.comwrote
Hire someone who is located in your
area to do this; probably you can
get it done quietly and sucessfully in
a day for $100 USD.
You really think the OP can find someone competent to do what you describe
for $12.50 USD per hour? I doubt that is so in the area where I live and
work, so I hope they don't get their hopes up and/or insult some competent
developer by offering data entry clerk wages.

Larry

Jul 19 '06 #3

Larry Linson wrote:
"Lyle Fairfield" <ly***********@aim.comwrote
Hire someone who is located in your
area to do this; probably you can
get it done quietly and sucessfully in
a day for $100 USD.

You really think the OP can find someone competent to do what you describe
for $12.50 USD per hour? I doubt that is so in the area where I live and
work, so I hope they don't get their hopes up and/or insult some competent
developer by offering data entry clerk wages.

Larry
? ... I think I suggested one hour's work for $100.

Jul 19 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
6
by: ronwer | last post by:
Hello, The title doesn't completely cover the question I have, but it's a bit more complicated problem we have. We are using a database, based on Acces, but developed by a third party...
10
by: Bugs | last post by:
Hi I have distributed an mdb file that works fine on my PC using Access 2003, but when a copy I sent to someone running Access2003 he gets the error message "missing the intranet or the...
5
by: jqpdev | last post by:
Hello all... I'm coming from a Borland Delphi background. Delphi has a specific component called a Data Module. In the designer the Data Module behaves like a windows form. A developer can...
13
by: Robin Haswell | last post by:
Hey people I'm an experience PHP programmer who's been writing python for a couple of weeks now. I'm writing quite a large application which I've decided to break down in to lots of modules...
4
by: Robert Fish | last post by:
The compacting routine just hangs after about 20 seconds. Any suggestions? -- Robert Fish ------------------------------------------------------------------------ Robert Fish's Profile:...
4
by: wanwan | last post by:
Hi, I have a project with multiple c files. Some of these modules have functions that have the same name and their operations are exactly the same. My rusty memory tells me there is a way...
3
by: peterhall | last post by:
In VBA an Access module has a find method - works perfectly to find a string inside a module. i'm working in A97 (legacy) systems (large ones) and want to write code that searches all modules so that...
1
by: sphinney | last post by:
All, I'm not sure how to adequately explain my problem in two sentences or less, so at the risk of providing TMI, here's the condensed verion. I have developed an Access 2002 database file that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.