Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
9 user(s) are online (4 user(s) are browsing encyclopedia)

Members: 0
Guests: 9

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Microsoft Access

Microsoft Access is a relational database management system from Microsoft, packaged with Microsoft Office which combines the relational Microsoft Jet Database Engine with a graphical user interface. It can use Data stored in Access/Jet, SQL Server, Oracle database, or any ODBC-compliant data container. Skilled software developers and data architects use it to develop powerful, complex application softwares. Relatively unskilled programmers and non-programmer power users can use it to build simple applications without having to deal with features they don t understand. It supports substantial object-oriented (OO) techniques but falls short of being a fully OO development tool.

Microsoft Access was also the name of a communications program from Microsoft, meant to compete with ProComm and other programs. It proved a failure and was dropped. Years later they reused the name for their database software.

=Uses=

Access is widely used by small businesses and hobby programmers to create ad hoc customized systems for handling small tasks. Its ease of use and powerful design tools give the non-professional programmer a lot of power for little effort. However, this ease of use can be misleading. This sort of developer is often an office worker with little or no training in application or data design. Because Access makes it possible even for such developers to create usable systems, many are misled into thinking that the tool itself is limited to such applications.

Some professional application developers use Access for rapid application development, especially for the creation of prototypes and standalone applications that serve as tools for on-the-road salesmen. Access does not scale (computing) well if data access is via a network, so applications that are used by more than a handful of people tend to rely on a Client-Server based solution such as Oracle database, DB2, Microsoft SQL Server, PostgreSQL, MySQL, or MaxDB. However, an Access front end (the forms, reports, queries and Visual_Basic code) can be used against a host of database backends, including Access itself, SQL Server, Oracle, and any other ODBC-compliant product. This approach allows the developer to move a matured application s data to a more powerful server without sacrificing the development already in place.

Many developers who use Microsoft Access use the Leszynski Naming Convention, though this is not universal; it is a programming convention, not a DBMS-enforced rule.

=Features=

One of the benefits of Access from a programmer s perspective is its relative compatibility with SQL – queries may be viewed and edited as SQL statements, and SQL statements can be used directly in Macros and VBA Modules to manipulate Access tables. Users may mix and use both VBA and Macros for programming forms and logic and offers object-oriented possibilities.

The report writer in Access is similar to the other popular database report writer – Crystal Reports but the two products are vastly different in their approach. MSDE (Microsoft SQL Server Desktop Engine) 2000, a mini-version of MS SQL Server 2000, is included with the developer edition of Office XP and may be used with Access as an alternative to the Microsoft Jet Database Engine. (*Early versions of MSDE and Microsoft Exchange Server actually use the Jet engine to handle huge volumes of data and placed a fake application layer for those applications on top of it. Lack of knowledge about this fact has contributed to an undeserved disrespect for Access/Jet family of software products, particularly as regards large projects.)

Access cut and paste functionality can make it a useful tool for connecting between other databases (for example, Oracle and Microsoft SQL Server during data or database conversions. Access comes with various import and export features that allow integration with Windows and other platform applications, several of which can be executed on demand from within applications or manually by the user. For example the very compact SNP format for sharing perfectly formatted reports with people who don t have the full Access software. It can also easily be upgraded to Microsoft SQL Server.

Unlike complete RDBMSes, it lacks triggers and stored procedures. It is common to use pass-through queries and other techniques in Access to run stored procedures in RDBMSs that support these.

=Development=

The programming language availabable in Access is, as in other products of the (ADODB).

Microsoft Access is easily applied to small projects but scale (computing) inefficiently to large projects if applications are designed poorly.

All database queries, forms, and reports are stored in the database, and in keeping with the ideals of the relational model, there is no possibility of making a physically structured hierarchy with them.

One design technique is to divide an Access application between data and programs. One database should contain only tables and relationships, while another would have all programs, forms, reports and queries, and links to the first database tables. Unfortunately, Access allows no relative paths when linking, so the development environment should have the same path as the production environment (Although you can write your own dynamic-linker routine in Visual Basic for Applications that can search out a certain back-end file by searching through the directory tree, if it can t find it in the current path).

This technique also allows the developer to divide the application among different files, so some structure is possible.

=Microsoft Access and Java=

If your application runs on a Windows box then use jdbc-odbc bridge. sample code:

public Connection openDatabase(String file){ String driver= sun.jdbc.odbc.JdbcOdbcDriver ; String lConnectStr = jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ= + file + ;DriverID=22;READONLY=false ; try { Class.forName(driver); return DriverManager.getConnection(lConnectStr); }catch (Exception e) { e.printStackTrace(); } return null; }

else you should use a type 4 JDBC driver:

[http://www.hxtt.net/access/ HXTT Access] is a pure Java type 4 JDBC(1.2, 2.0, 3.0) driver packages for MS Access (Microsoft Access) version from 2.0, 95, 97, 2000, XP, 2002, to 2003, which supports SQL92, four kinds of transaction levels, embedded access, and remote access.

[http://jackcess.sourceforge.net Jackcess] is a free, open-source, pure Java library for reading from and writing to MS Access databases.

=Further reading=

  • Database Design for Mere Mortals by Michael J. Hernandez
  • Access Database Design & Programming by Steven Roman
  • Access 2002 Developer s Handbook Set By Paul Litwin; Ken Getz; Mike Gunderloy
  • Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach by Karin Bast, Leon Cygman, Gerard Flynn, Rebekah Tidwell
  • Access 2003 VBA Programmer s Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein
  • =See also=

    *Microsoft SQL Server *Microsoft Office *Microsoft *List of relational database management systems *XBase *Comparison of relational database management systems *[http://support.microsoft.com/kb/283878/EN-US/ Data Normalization Basics]

    =External links=

    *[http://www.accessvba.com/ Microsoft Access Forum] *[http://www.databasedev.co.uk/ Microsoft Access Articles and Tutorials] *[http://www.mvps.org/access A FAQ site about Microsoft Access] *[http://www.yaccess.com Microsoft Access Linklist] *[http://www.drewslair.com/desk/access_series/Intro.htm Microsoft Access for Beginners] *[http://www.MsAccess.DatabaseCorner.com/ Tutorials for Microsoft Access] *[http://www.BlueClaw-DB.com/ Articles on Microsoft Access]