473,799 Members | 3,310 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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*********@hot mail.com

-Henry
Jul 18 '06 #1
3 2411
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*********@hot mail.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
24039
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 tables in the database where the code resides. If we move the database with the data tables to a new directory, the links are no longer valid. I tried to update the links by changing the Connect property and refreshing: Set td = db.TableDefs(0)...
6
3443
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 developer who sells it under his own name. So, functionally it's a very specific database for a specific purpose. Now we want to make certain changes in this database, but for reasons of
10
1852
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 website". This is driving me nuts. Could anyone please shed some light on what is causing this and any possible fixes. Very much appreciated.
5
1966
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 drop non-visual (controls) on the data module surface and wire them up and create procedures, functions, event procedures. In the source file (code behind file) the Data Module is a class, and the dropped components are public properties. The...
13
2372
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 (replacement for PHP's include() statement). My problem is, in PHP if you open a database connection it's always in scope for the duration of the script. Even if you use an abstraction layer ($db = DB::connect(...)) you can `global $db` and bring...
4
1801
by: Robert Fish | last post by:
The compacting routine just hangs after about 20 seconds. Any suggestions? -- Robert Fish ------------------------------------------------------------------------ Robert Fish's Profile: http://www.dbtalk.net/m390 View this thread: http://www.dbtalk.net/t307374
4
3157
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 with preprocessor directives to make sure these functions are not included more than once, but I forgot how to.
3
5834
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 I can check on the possible effects of a change. But the 97 modules collection is open modules only. Access 97 doesn't have an allmodules collection - 2000+ does - so I can move the app up for this purpose. But now I find that a module in...
1
3192
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 contains a form, multiple queries and multiple reports. The purpose of the form is to allow the user to run various queries against my company's Sybase server and display a report. Since the queries return ADO recordsets from the Sybase server,...
0
9541
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10485
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.