Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
 
 
Courses - Microsoft Access 323
Description: Advanced Access Recordsets
Running Time: 71 minutes
Pre-Requisites: Access 322 very strongly recommended
Previous Lesson: Access 322
Next Lesson: Access 324
Main Topics: ADO, CursorType, Connection, Student Test Taker, DMIN, NZ, SQL Server Connect
Versions: This course is valid for Access 2000 through 2003. If you are using Access 2007 or 2010, you will still benefit from this course. You will find that the concepts are the same, but there are cosmetic differences between the versions.

    
 

In today's class, we're going to learn about ADO (ActiveX Data Objects) which is a different way of working with recordsets - ADO is slightly different from DAO, and it has its own uses. We'll talk about those uses in today's class.

We're also going to build a sample project, a Student Test Taker, where we'll do lots more with recordsets, and we'll learn lots of new techniques and functions.

We'll start by going over the available References, and you'll see how to enable ADO (ActiveX Data Objects).

 

You'll learn how to create an ADO connection, set the CursorType, LockType, and lots more.

 

We'll go over a lot of the same concepts as DAO recordsets, such as looping through records, adding, editing, and deleting records (and so on). You'll see how both are similar, but each has its own pros and cons. One of the major benefits of ADO is that you can connect to an SQL Server or Oracle Database with it:

 

Next we'll use our Recordset skills for a little project: we'll build a student test taker (quiz) program. We'll start out with a form/subform for the teacher to input questions and correct answers.

 

Then we'll build a form where a user has to log on and then take the test. All of his answers will be logged in the database using a Recordset.

 

Then we'll build a nice report to summarize each student's results.

 

 


Access 323 - Course Outline

1. ADO ActiveX Data Objects, Part 1
Benefits of ADO v. DAO
Create a Database Connection
CurrentProject.Connection
Provider
Recordset Types
- adOpenDynamic
- adOpenForwardOnly
- adOpenKeyset
- adOpenStatic
- adOpenUnspecified
Lock Types
- adLockReadOnly
- adLockPessimistic
- adLockOptimistic

2. ADO ActiveX Data Objects, Part 2
Loop Through Records (EOF)
Editing Records
Default is a READ ONLY Lock Type
AddNew to Add a New Record
Delete to Delete a Record
ADO Connection Strings
Connect to SQL Server
Connect to Oracle
Using Both ADO and DAO Together

3. Student Test Taker, Part 1
Question Table
Answer Table
Teacher Q/A Form
Student Table
Response Table

4. Student Test Taker, Part 2
Test Taker Form
Student Combo Box
Question Text Box
Answer List Box
Take Test Button
Disable the Student Combo
Disable the Test Button
Check to Make Sure Student Picked
Auto DropDown the Student Combo
DMin Function to Find Next QuestionID
Nz Function To Return Zero on Null

5. Student Test Taker, Part 3
Load List Box with Answers
RecordSet for Answers
List.AddItem
Button to Save Results
Save With RecordSet to ResponseT
Move To Next Question
Lock the Next Button When Test Done

6. Student Test Taker, Part 4
Query To Show All Student Answers
Different Links Give Different Results
How Multiple Relationships Interact
Report Grouped By Student
Grouping Options Button in Wizard
Summary Options Button
Calculate Student Average
Count of Records
Total Correct
Hiding the Detail Section


 

 

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/2/2024 5:12:44 PM. PLT: 0s