?
Solved

Database scheme for multiple users

Posted on 2002-06-07
3
Medium Priority
?
134 Views
Last Modified: 2010-05-18
My VB program uses an Access database. I am green on networks, and pretty green on database stuff too. (but pretty fair with VB)

The program curently is intended for installation and use on a local machine as the users each create personal  databases. But the IT managers don't like this, they want it to be installable on the network drive rather than install and maintain local machines.

How is this generally handled?

Brian
0
Comment
Question by:brayle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 300 total points
ID: 7063615
Install the actual database on the Netpwrd SERVER - a machine that ALL of the networked PCs have access to.  The install the application on each PC, and in your code, you would make a CONNECTION (you may need to read about ADO - ActiveX Data Objects and Connections) to the Database.  This can most easily be accomplished by setting up a Database ODBC connection DSN (Data Set Name) on each PC - this can be accomplished from the Setup Panel on each PC.

This is manageable if there are not TOO many PCs that you must deal with. For instance, I did exactly this with an application at a former job-site, wityh about 50 PCs on the network - required about a day, going to each PC to set it up and install the VB application.

If the number of PCs is large, or if they are in many different places, then you can actually make the connection in the software, using what is called a DSN-Less connection.  However, the problem that rises then is that this may require the EVERY PC have the same mapping to the Network drive where the database is located.

Arthur Wood
0
 
LVL 4

Expert Comment

by:escheider
ID: 7063847
Good advice arthur.

Other things to keep in mind:

1.  Handling multi-users in the same database
2.  Record locking so multiple users don't modify or delete the same record at the same time.
3.  Managing problems that will occur due to extra network bandwidth.
4.  Setting up a test environment for testing prior to rolling it out to production.

The good thing about doing it this way is central management of the data.  

In addition to DNS and DNS-less connections, you can also use OLEDB to create your connection object to the database, but will require a mapped drive letter on each machine (as Arthur has suggested).
0
 

Author Comment

by:brayle
ID: 7064138
Looks like as much work as just setting up each user, but then I guess the advantage is just one database to maintain.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question