-
Database Design
-
Chapter 1 Introduction
- Database Design
- Database Programming
-
Chapter 2 The Entity-Relationship Model of a Database
- What Is a Database?
- Entities and Their Attributes
- Keys and Superkeys
- Relationships Between Entities
-
Chapter 3 Implementing Entity-Relationship Models: Relational Databases
- Implementing Entities
- A Short Glossary
- Implementing the Relationships in a Relational Database
- The LIBRARY Relational Database
- Index Files
- NULL Values
-
Chapter 4 Database Design Principles
- Redundancy
- Normal Forms
- First Normal Form
- Functional Dependencies
- Second Normal Form
- Third Normal Form
- Boyce-Codd Normal Form
- Normalization
-
-
Database Queries
-
Chapter 5 Query Languages and the Relational Algebra
- Query Languages
- Relational Algebra and Relational Calculus
- Details of the Relational Algebra
-
Chapter 6 Access Structured Query Language (SQL)
- Introduction to Access SQL
- Access Query Design
- Access Query Types
- Why Use SQL?
- Access SQL
- The DDL Component of Access SQL
- The DML Component of Access SQL
-
-
Database Architecture
-
Chapter 7 Database System Architecture
- Why Program?
- Database Systems
- Database Management Systems
- The Jet DBMS
- Data Definition Languages
- Data Manipulation Languages
- Host Languages
- The Client/Server Architecture
-
-
Visual Basic for Applications
-
Chapter 8 The Visual Basic Editor, Part I
- The Project Window
- The Properties Window
- The Code Window
- The Immediate Window
- Arranging Windows
-
Chapter 9 The Visual Basic Editor, Part II
- Navigating the IDE
- Getting Help
- Creating a Procedure
- Run Mode, Break Mode, and Design Mode
- Errors
- Debugging
-
Chapter 10 Variables, Data Types, and Constants
- Comments
- Line Continuation
- Constants
- Variables and Data Types
- VBA Operators
-
Chapter 11 Functions and Subroutines
- Calling Functions
- Calling Subroutines
- Parameters and Arguments
- Exiting a Procedure
- Public and Private Procedures
- Fully Qualified Procedure Names
-
Chapter 12 Built-in Functions and Statements
- The MsgBox Function
- The InputBox Function
- VBA String Functions
- Miscellaneous Functions and Statements
- Handling Errors in Code
-
Chapter 13 Control Statements
- The If ...Then Statement
- The For Loop
- The Exit For Statement
- The For Each Loop
- The Do Loop
- The Select Case Statement
- A Final Note on VBA
-
-
Data Access Objects
-
Chapter 14 Programming DAO: Overview
- Objects
- The DAO Object Model
- The Microsoft Access Object Model
- Referencing Objects
- Collections Are Objects Too
- The Properties Collection
- Closing DAO Objects
- A Look at the DAO Objects
- The CurrentDb Function
-
Chapter 15 Programming DAO: Data Definition Language
- Creating a Database
- Opening a Database
- Creating a Table and Its Fields
- Creating an Index
- Creating a Relation
- Creating a QueryDef
-
Chapter 16 Programming DAO: Data Manipulation Language
- Recordset Objects
- Opening a Recordset
- Moving Through a Recordset
- Finding Records in a Recordset
- Editing Data Using a Recordset
-
-
ActiveX Data Objects
-
Chapter 17 ADO and OLE DB
- What Is ADO?
- Installing ADO
- ADO and OLE DB
- The ADO Object Model
- Finding OLE DB Providers
- A Closer Look at Connection Strings
- An Example: Using ADO over the Web
-
Chapter 18 ADOX: Jet Data Definition in ADO
- The ADOX Object Model
-
-
Programming Problems
-
Chapter 19 Some Common Data Manipulation Problems
- Running Sums
- Overlapping Intervals I
- Overlapping Intervals II
- Making Assignments with Default
- Time to Completion I
- Time to Completion II
- Time to Completion III—A MaxMin Problem
- Vertical to Horizontal
- A Matching Problem
- Equality of Sets
-
-
Appendixes
-
Appendix A DAO 3.0/3.5 Collections, Properties, and Methods
- DAO Classes
- A Collection Object
- Connection Object (DAO 3.5 Only)
- Container Object
- Database Object
- DBEngine Object
- Document Object
- Error Object
- Field Object
- Group Object
- Index Object
- Parameter Object
- Property Object
- QueryDef Object
- Recordset Object
- Relation Object
- TableDef Object
- User Object
- Workspace Object
-
Appendix B The Quotient: An Additional Operation of the Relational Algebra
- Step 1
- Step 2
- Step 3
-
Appendix C Open Database Connectivity (ODBC)
- Introduction
- The ODBC Driver Manager
- The ODBC Driver
- Data Sources
- Getting ODBC Driver Help
- Getting ODBC Information Using Visual Basic
-
Appendix D Obtaining or Creating the Sample Database
- Creating the Database
- Creating the BOOKS Table
- Creating the AUTHORS Table
- Creating the PUBLISHERS Table
- Creating the BOOK/AUTHOR Table
- Backing Up the Database
- Entering and Running the Sample Programs
-
Appendix E Suggestions for Further Reading
-
-
Colophon
- Title:
- Access Database Design & Programming, Third Edition
- By:
- Steven Roman, PhD
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- January 2002
- Ebook Release:
- June 2009
- Pages:
- 448
- Print ISBN:
- 978-0-596-00273-2
- | ISBN 10:
- 0-596-00273-4
- Ebook ISBN:
- 978-0-596-55603-7
- | ISBN 10:
- 0-596-55603-9
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Access Database Design and Programming is a Southern tamandua (Tamandua tetradactyla), one of three species comprising the anteater family. The Southern tamandua is also known as the collared anteater (although vested anteater might be a better name). Tamanduas live in the tropical rainforest. They spend much of their time in the forest canopy, feasting on ants and termites; they often move awkwardly when they descend to the ground. Tamanduas use their powerful forearms for self-defense. When attacked, they will back up against a rock or cling to a tree branch with their hind legs, while fighting and clawing with their forearms. Amazonian Indians sometimes use tamanduas to clear their homes of ants and termites. Despite this useful trait, the tamandua is an endangered species. They are often killed for their tails, the tendons of which are used to make ropes. Jeffrey Holcomb was the production editor and proofreader for Access Database Design and Programming. Clairemarie Fisher O'Leary and Tatiana Apandi Diaz were the copyeditors. Rachel Wheeler, Matt Hutchinson, and Claire Cloutier provided quality control. Brenda Miller wrote the index.
Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. Mihaela Maier converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.
