Solved

Database scheme for multiple users

Posted on 2002-06-07
3
130 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
3 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
String manipulation in Visual Basic 7 59
Notepad++ how to remove delimiter : from beggning of the line? 3 93
Hide vba in gp 7 82
TT Auto Dashboard 13 82
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now