
Access Database Design & Programming
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Preface to the Third Edition
- Preface to the Second Edition
- The Book's Audience
- The Sample Code
- Organization of This Book
- Part I, Database Design
- Part II, Database Queries
- Part III, Database Architecture
- Part IV, Visual Basic for Applications
- Part V, Data Access Objects
- Part VI, ActiveX Data Objects
- Part VII, Programming Problems
- Part VIII, Appendixes
- Conventions in This Book
- Obtaining Updated Information
- Using Code Examples
- Request for Comments
- Acknowledgments
- Part I
- Introduction
- Database Design
- Why Use a Relational-Database Design?
- Redundancy
- Multiple-value problems
- Update anomalies
- Insertion anomalies
- Deletion anomalies
- Complications of Relational-Database Design
- Avoiding data loss
- Maintaining relational integrity
- Creating views
- Summary
- Database Programming
- The Entity-Relationship Model of a Database
- What Is a Database?
- Entities and Their Attributes
- Keys and Superkeys
- Relationships Between Entities
- Types of Relationships
- Implementing Entity-Relationship Models: Relational Databases
- Implementing Entities
- Implementing Entity Classes-Table Schemes
- Implementing Entity Sets-Tables
- A Short Glossary
- Implementing the Relationships in a Relational Database
- Implementing a One-to-Many Relationship-Foreign Keys
- Implementing a One-to-One Relationship
- Implementing a Many-to-Many Relationship- New Entity Classes
- Referential Integrity
- Cascading Updates and Cascading Deletions
- The LIBRARY Relational Database
- Setting Up the Relationships in Access
- Index Files
- Example
- NULL Values
- Database Design Principles
- Redundancy
- Normal Forms
- First Normal Form
- Functional Dependencies
- Second Normal Form
- Third Normal Form
- Boyce-Codd Normal Form
- Normalization
- Decomposition
- Part II
- Query Languages and the Relational Algebra
- Query Languages
- Relational Algebra and Relational Calculus
- Details of the Relational Algebra
- Renaming
- Union
- Intersection
- Difference
- Cartesian Product
- Projection
- Selection
- Joins
- Equi-join
- Natural join
- q-Join
- Outer Joins
- Implementing Joins in Microsoft Access
- Semi-Joins
- Other Relational Algebra Operations
- Optimization
- Access Structured Query Language (SQL)
- Introduction to Access SQL
- Access Query Design
- Access Query Types
- Why Use SQL?
- Access SQL
- Syntax Conventions
- Notes
- The DDL Component of Access SQL
- The CREATE TABLE Statement
- Column definition
- Constraints
- Notes
- The ALTER TABLE Statement
- Notes
- The CREATE INDEX Statement
- Note
- The DROP Statement
- Note
- The DML Component of Access SQL
- Updatable Queries
- Joins
- Inner joins
- Outer joins
- Nested joins
- Self-joins
- Notes
- The SELECT Statement
- Predicate
- ReturnColumnDescription
- FROM TableExpression
- WHERE RowCondition
- GROUP BY GroupByCriteria
- HAVING GroupCriteria
- ORDER BY OrderByCriteria
- The UNION Statement
- Example
- Notes
- The UPDATE Statement
- Example
- The DELETE Statement
- The INSERT INTO Statement
- Note
- The SELECT.INTO Statement
- Notes
- TRANSFORM
- Subqueries
- Syntax 1
- Syntax 2
- Syntax 3
- Notes
- Parameters
- Part III
- Database System Architecture
- Why Program?
- Database Systems
- Database Management Systems
- The Jet DBMS
- Data Definition Languages
- The Jet Data Definition Language
- Data Manipulation Languages
- The Jet Data Manipulation Language
- Host Languages
- The Client/Server Architecture
- Part IV
- The Visual Basic Editor, Part I
- The Project Window
- Project Names
- Project Contents
- Standard modules
- Class modules
- The Properties Window
- The Code Window
- Procedure and Full-Module Views
- The Object and Procedure Listboxes
- The Immediate Window
- Arranging Windows
- Docking
- The Visual Basic Editor, Part II
- Navigating the IDE
- General Navigation
- Navigating the code window at design time
- Tracing code
- Bookmarks
- Getting Help
- Creating a Procedure
- Run Mode, Break Mode, and Design Mode
- Errors
- Design-Time and Compile-Time Errors
- Runtime Errors
- Logical Errors
- Debugging
- Tracing
- Step Into (F8 or choose Step Into from the Debug menu)
- Step Over (Shift+F8 or choose Step Over from the Debug menu)
- Step Out (Ctrl+Shift+F8 or choose Step Out from the Debug menu)
- Run to Cursor (Ctrl+F8 or choose Run To Cursor from the Debug menu)
- Set Next Statement (Ctrl+F9 or choose Set Next Statement from the Debug menu)
- Breaking out of Debug mode
- Variables, Data Types, and Constants
- Comments
- Line Continuation
- Constants
- Enums
- Variables and Data Types
- Variable Declaration
- The Importance of Explicit Variable Declaration
- Option Explicit
- Numeric Data Types
- Boolean Data Type
- String Data Type
- Date Data Type
- Variant Data Type
- Access Object Data Types
- The generic As Object declaration
- The Set statement
- Arrays
- The dimension of an array
- Dynamic arrays
- The UBound function
- Variable Naming Conventions
- Variable Scope
- Procedure-level (local) variables
- Module-level variables
- Variable Lifetime
- Static variables
- Variable Initialization
- VBA Operators
- Functions and Subroutines
- Calling Functions
- Calling Subroutines
- Parameters and Arguments
- Optional Arguments
- Named Arguments
- ByRef Versus ByVal Parameters
- Exiting a Procedure
- Public and Private Procedures
- Fully Qualified Procedure Names
- Built-in Functions and Statements
- The MsgBox Function
- The InputBox Function
- VBA String Functions
- Miscellaneous Functions and Statements
- The Is Functions
- The IsDate function
- The IsEmpty function
- The IsNull function
- The IsNumeric function
- The Immediate If Function
- The Switch Function
- The Beep Statement
- Handling Errors in Code
- The On Error Goto Label Statement
- Handling Errors in the Calling Procedure
- The Calls Stack
- The Error Object
- The On Error GoTo 0 Statement
- The On Error Resume Next Statement
- The Resume Statement
- 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
- File-Related Functions
- Date- and Time-Related Functions
- The Format Function
- Part V
- Programming DAO: Overview
- Objects
- Object Variables
- Object-Variable Naming Conventions
- Referencing the Properties and Methods of an Object
- The DAO Object Model
- The Microsoft Access Object Model
- Referencing Objects
- Fully Qualified Object Names
- Using Object Variables to Your Advantage
- Default Collections
- Collections Are Objects Too
- Properties and Methods of Access Collections
- Properties and Methods of DAO Collections
- Properties and Methods of User-Defined Collections
- Say It Again
- Refreshing Certain Collections
- The Properties Collection
- The Virtues of Properties Collections
- Types of Properties
- Property: Inherited
- Property: Name
- Property: Type
- Property: Value
- User-Defined Properties
- Closing DAO Objects
- A Look at the DAO Objects
- DBEngine Object
- Errors
- Workspaces
- Users
- Groups
- Databases
- TableDefs
- QueryDefs
- Recordsets
- Relations
- Containers
- Documents
- Fields
- Parameters
- Indexes
- The CurrentDb Function
- Programming DAO: Data Definition Language
- Creating a Database
- Notes
- Opening a Database
- Creating a Table and Its Fields
- Notes
- Note
- Changing the Properties of an Existing Table or Field
- Creating an Index
- Creating a Relation
- Notes
- Creating a QueryDef
- Notes
- Running a Query
- Properties of a QueryDef Object
- Programming DAO: Data Manipulation Language
- Recordset Objects
- Opening a Recordset
- Note
- Default Recordset Types
- Moving Through a Recordset
- BOF and EOF
- Notes on the BOF and EOF properties
- Notes on the Move methods
- Finding Records in a Recordset
- Finding Records in a Table-Type Recordset
- Notes
- Finding Records in a Dynaset-Type or Snapshot-Type Recordset
- Editing Data Using a Recordset
- Editing an Existing Record
- Deleting an Existing Record
- Notes
- Adding a New Record
- Notes
- Part VI
- ADO and OLE DB
- What Is ADO?
- Installing ADO
- ADO and OLE DB
- Data Stores
- Data Providers
- Data Consumers
- Service Providers
- The ADO Object Model
- The Three-Pronged Approach to Data Manipulation
- The Connection Object
- Properties of the Connection object
- Methods of the Connection object
- The Recordset Object
- Cursors
- LockType
- Properties of the Recordset object
- Methods of the Recordset object
- The Command Object
- Command objects and connections
- Properties of the Command object
- Methods of the Command object
- The Property Object and Dynamic Properties
- The Field Object
- Properties of the Field object
- Finding OLE DB Providers
- A Closer Look at Connection Strings
- The Microsoft Jet 3.51 OLE DB Provider
- The Microsoft OLE DB Provider for ODBC Drivers
- Connecting to an Excel workbook
- Connecting to a text file
- ODBC support
- An Example: Using ADO over the Web
- ADOX: Jet Data Definition in ADO
- The ADOX Object Model
- Creating a Database
- Creating Tables
- The Tables Collection
- Creating Indexes
- Creating a Primary Key
- Creating a Query
- Conclusion
- Part VII
- Some Common Data Manipulation Problems
- Running Sums
- Solution
- Overlapping Intervals I
- Solution
- Overlapping Intervals II
- Solution
- Making Assignments with Default
- Solution
- Time to Completion I
- Solution
- Time to Completion II
- Solution
- Time to Completion III-A MaxMin Problem
- Solution 1
- Solution 2
- Vertical to Horizontal
- Solution
- A Matching Problem
- Solution
- Equality of Sets
- Solution
- Part VIII
- DAO 3.0/3.5 Collections, Properties, and Methods
- DAO Classes
- A Collection Object
- Methods
- Properties
- Methods
- Connection Object (DAO 3.5 Only)
- Collections
- Methods
- Properties
- Container Object
- Collections
- Properties
- Database Object
- Collections
- Methods
- Properties
- DBEngine Object
- Collections
- Methods
- Properties
- Document Object
- Methods
- Properties
- Error Object
- Properties
- Field Object
- Collections
- Methods
- Properties
- Group Object
- Collections
- Methods
- Properties
- Index Object
- Collections
- Methods
- Properties
- Parameter Object
- Properties
- Property Object
- Properties
- QueryDef Object
- Collections
- Methods
- Properties
- Recordset Object
- Collections
- Methods
- Properties
- Relation Object
- Collections
- Methods
- Properties
- TableDef Object
- Collections
- Methods
- Properties
- User Object
- Collections
- Methods
- Properties
- Workspace Object
- Collections
- Methods
- Properties
- The Quotient: An Additional Operation of the Relational Algebra
- Open Database Connectivity (ODBC)
- Introduction
- The ODBC Driver Manager
- The ODBC Driver
- Driver Types
- Data Sources
- DSNs and Data Source Types
- Machine data sources
- File data sources
- Creating DSNs: The ODBC Administrator
- Example DSNs
- Excel system data source
- Excel file data source
- Text-system data source
- Connecting to a Data Source
- The SQLConnect Function
- Connection Strings
- SQLDriverConnect
- Getting ODBC Driver Help
- Getting ODBC Information Using Visual Basic
- Preliminaries
- Getting Driver Information
- Getting Data Sources
- 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
- Suggestions for Further Reading
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.