Allen Browne's Database and Training
for small business and not-for-profit organizations
Welcome to Allen Browne's tips for Microsoft AccessWhere to ask for helpMicrosoft closed its newsgroups in June 2010. For alternatives, see Forums on our Links page. Brief tutorials and help for novices and database developers. Examples and solutions to implement. Bugs and traps to avoid. Sample code and utilities to download. All free. This is literally an FAQ. It has grown in response to the most frequently asked questions in Access newsgroups, for 16 years. Each page explains the most efficient solution that works completely within Access, as simply as possible. Re newer versions, see Converting to Access 2007 or 2010. If you don't know how to write code, these may help. Table Design
Forms
Reports
Expressions
Solutions for developers. Forms
Combo Boxes
Reports
Queries
Relational Design
Coding examples for VBA (Visual Basic for Applications.) Solutions (VBA)
Functions (VBA)
Pitfalls and Traps
Examples by LibraryDeveloper reference section: create, delete, modify, and list the database objects (tables, fields, indexes, relations, queries, databases) and set their properties. Heaps of code, with only limited explanations.
See also the Index of VBA Functions - list of the code from all pages on this site. Specific solutions and downloadable tools. Applications
Utilities
Corruption / Repair
Service packs fix known bugs. To get the latest service pack for your version of Office, visit http://support.microsoft.com/sp. New bugs
Engine-level bugsThe flaws listed below remain unfixed for at least three versions of Access. You must know how to work around them, or they will bite you. Flaws marked "Sample" are demonstrated in AccessFlaws.zip (Access 2000, 125KB). If you use queries, be aware! These can all fail:
PARAMETERS clause Some of these describe cases where Access fails or crashes.
Interface bugsCases where Access displays or handles data wrongly in forms and reports.
Other bugsMiscellaneous issues:
Converting Access versionsIssues you may encounter in changing version:
Microsoft also has an Access 2.0 Converter for Access 2003. Converting from the old xBaseIf you have a background in the old dBase/Foxbase, you may appreciate:
All tips and samples are offered without liability: use at your own risk. PermissionYou may freely use anything (code, forms, algorithms, ...) from these articles and sample databases for any purpose (personal, educational, commercial, resale, ...). All we ask is that you acknowledge this website in your code, with comments such as: 'Source: http://allenbrowne.com SupportWe are not able to give free support for all the free tips, utilities, and solutions in these pages. We will need to charge you if you email asking for support or help in implementing these ideas or completing your database. For free help, see the Forums section on our Links page. Occasionally, Access users offer to send something in gratitude. We prefer you give your donation to a child charity that provides education and health for children (such as Compassion.) Then drop us an email so we can share the pleasure of your gift. To email Allen Browne:
For other contact details, see our home page.
|
Access 2000 and 2002 users: Many of these tips require the If Database or Recordset gives an "unknown type" error, set your References. (All other versions have this reference by default.) Windows Vista bugs 1. Your database will be destroyed if you share it on a Vista computer and open it on other Vista machines. Hotfix: 935366 2. Do not store databases in offline folders! It may be lost on compact, or corrupted when you delete objects. 3. Add-in may not install on Access 2003. Details: kb 938809. Last update: 17 August 2010 |