Microsoft Access
  Home arrow Microsoft Access arrow Page 5 - Upgrading your Access Application for a Mu...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Upgrading your Access Application for a Multi-user Environment
By: Peter Lavin
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 33
    2004-07-14

    Table of Contents:
  • Upgrading your Access Application for a Multi-user Environment
  • Connection Object
  • Recordset Object
  • Security
  • Performance Improvements

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Upgrading your Access Application for a Multi-user Environment - Performance Improvements


    (Page 5 of 5 )

    One of Microsoft’s recommendations for improved performance across a network is database-splitting. With database splitting, static data is left on the client’s machine and changeable data is moved to a network drive. What this amounts to is creating a new database on a network drive and moving all tables into this database. Each client database will hold queries, forms, VBA code and reports with links to the tables on the shared network drive. This will reduce network traffic and speed up queries and reports. It will also reduce contention for any temporary objects created. This technique is useful regardless of whether you developed your application using a VB front-end or using only Access. In some instances it may also make sense to keep tables on the client rather than move them to the networked drive. For instance, if you have a look-up table of city names that rarely changes, it might make sense to keep this table in each client database.

    If you do decide to go this route, Microsoft has made it very easy by creating a database utility to perform this function. Before proceeding though you will want to make use of another wizard – by analyzing performance under the “Tools” menu option. This tool will examine your database and come up with suggestions for improvements. Most important are the creation of additional indices. In a networked environment this will help to reduce network traffic.

    So far we have concentrated on server-side dynamic cursors and the accompanying concurrency issues. However, for the sake of performance we should also use static, client-side cursors whenever appropriate – when running reports for instance.

    You can also compile your database using the menu option to create a MDE file. This option really only makes sense if you are using Visual Basic for Applications code in an Access based application and has more bearing on security than performance.

    Other Issues

    Implementation of error trapping in a multi-user environment also requires special attention. For example, provision should be made for retrying updates that fail due to conflict over resources. However, providing a thorough review of error trapping is perhaps the subject for another article.

    You will also want to encrypt your database. This may have already happened depending upon which wizards you have used to this point. If not, it is a fairly straightforward matter of using the correct menu option.

    Finally, if you have created your application using VB, then you will want to deploy it using the Package & Deployment Wizard that comes with Visual Studio.

    Conclusion

    This article has taken you through the major steps necessary to upgrade your desktop Access database application for a multi-user environment. Concurrency and security issues were covered as were performance improvement suggestions. With the right approach, an Access database can function satisfactorily in a multi-user environment.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · hi,Ok it won't support more on 20 people,but if we want that are steps we need to...
     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT