473,573 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Install database at multiple locations

A company wants to install a database on the network at 15 different
locations. The networks are all separate, are mapped differently and the
server name and share are named differently for each location. Is there any
way to create a linked tables path that will work at all the locations or
does the database need to be installed one at a time at each location and
the tables links refreshed for each location?

Thanks!

Melissa
Nov 13 '05 #1
2 1832
Unless you can guarantee that the same drive letter will be mapped to
whichever server/share is appropriate for each location, you'll have to
refresh the links at each location.

It should be possible, however, to add code to the application so that it
can check whether the tables are linked appropriately, and relink if not.
http://www.mvps.org/access/tables/tbl0009.htm shows some code that may help.
While that code prompts the user, and lets them pick the correct location,
you could rewrite it to automatically pick the correct location by replacing
the section of code

strMsg = "Do you wish to specify a different path for the Access
Tables?"

If MsgBox(strMsg, vbQuestion + vbYesNo, "Alternate data source...") =
vbYes Then
strNewPath = fGetMDBName("Pl ease select a new datasource")
Else
strNewPath = vbNullString
End If

with code that sets strNewPath appropriately.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)
"Melissa" <mb****@earthli nk.net> wrote in message
news:CH******** *********@newsr ead3.news.atl.e arthlink.net...
A company wants to install a database on the network at 15 different
locations. The networks are all separate, are mapped differently and the
server name and share are named differently for each location. Is there any way to create a linked tables path that will work at all the locations or
does the database need to be installed one at a time at each location and
the tables links refreshed for each location?

Thanks!

Melissa

Nov 13 '05 #2
Do you know the server names and shares of the 15 locations? If so,
then you could create a table in the frontend that contained all the
server & share names. If the database links to the backend were found
to be invalid, then you could scan the table to find the possible
locations. Only after exhausting the list of "known" locations would
you have to ask the user to locate the backend.

Once a valid location is found, you can store it in the computer's
registry to avoid having to repeat the process if you were to update
the frontend.

On Thu, 30 Sep 2004 15:33:54 GMT, "Melissa" <mb****@earthli nk.net>
wrote:
A company wants to install a database on the network at 15 different
locations. The networks are all separate, are mapped differently and the
server name and share are named differently for each location. Is there any
way to create a linked tables path that will work at all the locations or
does the database need to be installed one at a time at each location and
the tables links refreshed for each location?

Thanks!

Melissa

*************** *******
ja************* *@telusTELUS.ne t
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
Nov 13 '05 #3

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

Similar topics

1
1804
by: Cpt. Zeep | last post by:
Although this is not strictly PHP related question, i presume lots of you are good in MySql so maybe you could help me. I am making sort of yellowpages application and have following issue: I have different tables for storing info about different companies, their addresses & phone numbers and their field of work (i can't remember exact word...
1
4887
by: Ty | last post by:
This one is stumping me.. please help. I put together a DB with lots of tables, sprocs, etc.. Now I want to wrap it up into one nice little .SQL which will generate everything for a user. To that end, I went into Enterprise Manager, and selected "Generate SQL script". All is well until someone wants to execute it on a machine where SQL...
4
4413
by: Oak Hall | last post by:
foreach($_POST as $element=>$val) { echo $element.'--'.$val.'<BR>'; } Where a select multiple html field had several selected values only shows one?? How do I get the others. php 5.1b Thanks Oak
3
4309
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different geographical locations. I have been completely unsucessful in acheiving this goal so far however. Things I have tried: Create a shortcut to ftp...
4
6378
by: StefanSerena | last post by:
Hi I'm running Windows 2000 and Office 2003. I want to copy tables from an unknown database format into Access 2.0 and I could do it quite easily if it weren't for the fact that recent ODBC-drivers aren't capable of writing into an Access 2.0 database (only reading). I do have the old Access 2.0 disks including odbc-driver, but it doesn't...
1
1782
by: ian_gendreau | last post by:
I'm trying to create a database, thought I knew how I was going to do it, and found it won't work. Hoping some expert on here can steer me along the right path. I need to provide my users with a form for data entry. My hierarchy is: Job > Location > Activity > Hours. So one Job may have several Locations, each Location may have several...
4
1401
by: Papachumba | last post by:
Hi guys, i have a little problem and was wandering if anyone can help. I just need my query modified a little bit to allow some extra values in there... Tables: offers Table OfferID (primary) OStartValidity (date)
12
10578
by: Matt.W.Stephens | last post by:
Here is the scenario. We have a database with patient case information. This database was previously solely used in Access. The problem is our users connect to this database (located in California) from locations across a large network. California to Virginia. Naturally the east coast locations were running very slow. We decided to migrate to...
13
5368
by: Bruno LIVERNAIS | last post by:
Hi, Is there someone on earth (or elsewhere ;-)) who knows how to install a DB2 V9.1 database engine in a High Availability cluster environment? I need help on that particular point. Best regards, Bruno LIVERNAIS
0
7746
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7986
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. ...
0
8179
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8036
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...
1
5556
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...
0
3701
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...
1
2167
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
1
1269
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.