599CD.com New Access Imaging Seminar   Collapse Menus
 
 
NEW Courses - Access Imaging, Excel 2007 Level 5 dismiss
 
   
 

What's New?  |  Courses  |  Theater  |  Demo  |  Tips  |  Blog  |  Forums  |  Search  |  Help  |  Order

 
What do you want to learn today? 
 
 
Courses - Microsoft Access 320
Description: Advanced Access Recordsets
Running Time: 93 minutes
Pre-Requisites: Access 313 very strongly recommended
Versions:
We use Access 2003 in this course, but most of the lessons are valid for all versions of Access from 95 to 2003. There are cosmetic changes in Access 2007. Order before 3/15/2010 to get a FREE upgrade to our 2007 version when released!
 

Full course details with screenshots coming soon.

 


Access 320 - Course Outline

1. Recordset Basics
What is a Recordset?
Why use Recordsets?
Example Uses For Recordsets
Turn Off VBA Project Explorer
Tools > References
What is a Library?
Microsoft DAO 3.6 Object Library
Microsoft ActiveX Data Objects 2.1 Library
DAO vs. ADO, Brief Discussion

2. Our First Recordset
Create a Database Object
Create a Recordset Object
OpenRecordSet
db.Name, rs.Name
Closing Our Objects
Freeing Memory (Set to Nothing)
Creating a Status Box
Display Field Data: FirstName
When to use ! vs .
Ways to Refer to Fields
rs!Fieldname
rs("Fieldname")
rs(Index)
rs![First Name]
Create Unbound Text Boxes
Store RS Data Into Text Boxes

3. Moving Around, Part 1
MoveNext
MovePrevious
MoveFirst
MoveLast
Move X
EOF End of File
BOF Beginning of File
Endless Loops
Create a Counter
Dim Variables Outside of Subs
Variable Scope
Opening Recordset With Form Opened
Closing Recordset When Form Closed

4. Moving Around, Part 2
Buttons to Move Around Recordset
Dealing with Hitting EOF/BOF
RecordCount Property

5. Finding Records, Part 1
FindFirst
Types of Recordsets
dbOpenTable
dbOpenDynaset
dbOpenSnapshot
dbOpenForwardOnly
NoMatch

6. Finding Records, Part 2
Wildcard Search
Dynamic SQL For FindFirst
Do Loop
FindFirst
FindPrevious
 


 

Huge Discounts Available
When you purchase multiple classes together
Huge savings up to 50% off! Order Now.
 

Student Interaction: Microsoft Access 320

Richard on 1/1/2008:  Recordset basics, creating a recordset, moving around in recordsets, finding records.
BRYAN binkerd on 7/1/2009: on lesson 02, first recordset time frame 0736, I understand the StatusText = S & vbnewline but I don't understand the "& StatusText" that follows the statement.
Richard Rost on 7/2/2009: Bryan, that's just to continue with whatever previous StatusText was there before. It's like saying: X = A + X It takes X, adds A to the beginning, and then whatever X was there before. It's so you can keep a long listing of continuous "status" information.
bryan binkerd on 7/3/2009: thanks for the clarification. You rock.
Richard Rost on 7/3/2009: Thanks, Bryan. I try. :)
Margaret Cattarin on 7/30/2009: Richard, I have started a db for conducting a community survey. I am having difficulty bringing the responder information, questions, responses, etc. together for a tabulated summary report. Is this something that could be accomplished with Record Sets? Thank You!
Richard Rost on 7/31/2009: Margaret, tell me more about what your report needs to look like. Have you tried a CROSSTAB query?
Margaret Cattarin on 7/31/2009: Richard, I have a Response form for each of the households that return the survey. The main form has the name and information that I need to fill in, such as #of persons in household, combined income, #Over 65 and #Under 18. The Sub form has information that I can pick from drop down boxes (gender, years at address, marital status, and comments. This is the point where I am stuck. I would really like to generate two reports. The first would list all of the survey responses sorted by household. The second needs to have the counts or sums of each response (count of male, count of female, sum of persons Over 65, Rate of Return, % Moderate Income, % Low Income, Average Income, etc.). If you can get me to that point, I think that I will be able to set the detail section of the report as not visible and then put all of the calculations in the report footer. I tried a crosstab query, but I don't know how to use this in a report. Any help you can give me will be very much appreciated.
Richard Rost on 8/3/2009: Margaret, why not just GROUP the report based on each respondent, and then put the calculations in the footer of the group? You can use the =SUM(Field) or =COUNT(Field) functions in that footer to calculate your values.
Bert Jansen on 11/23/2009: Dear Richard,How can you make a report of the StatusText? AC 320 Time index 12.43 Thanks.
Richard Rost on 11/25/2009: Bert, I don't understand your question. Can you please clarify? What do you mean by "report of the StatusText?"
Bert Jansen on 11/25/2009: Dear Richard, I mean if I want to print all the data in the statustext you've created like "Anne wilson 45",How can I do that? AC320 Time index 12.43
Richard Rost on 12/13/2009: If you actually want to PRINT the statustext data, then I would recommend creating a status TABLE, binding that control (the big text box) to a field in your table, and then storing it that way. Then you can print it if you want by making a report based on it.
 
 

You may want to read these articles from the 599CD Blog:

 

 

Need Help
 
Do you have questions about Word, Excel, Access, Web Design, or computers in general? Just ask us anything you'd like. Click here for assistance.
 

Get Free Tips & Tricks
 

Join our mailing list today and get information on our Free Tips & Tricks Newsletter including free video tutorials, eBooks, live seminars, and more.

Email:
Name:
Type in the word to the left:
 
Your email will be kept 100% safe and will never be given to 3rd parties.
 


CLICK HERE for a FREE lesson



Order your first 599CD course now.
Your Satisfaction is Guaranteed!


Subscribe to our RSS FeedWhat's This?

599CD on Facebook  599CD on Twitter  Subscribe to RSS Feed  Add to Live Bookmarks  Add to My AOL  Add to MyYahoo  Add to Google Reader or Homepage    hide help

599CD Home   |   Learn More   |   What's New?   |   Contact Us   |   Free Demo   |   FAQs   |   Order Now   |   Affiliate Program   |   TechHelp   |   MYOLP   |   Jobs   |   Downloads   |   Handbooks  (Text)   |    Mailing List   |   Lost Passwords   |   Referral Program   |   Online Poll   |   Corporate, Educational, Government, Non-Profit Sales   |   Message Forums   |   Testimonials   |   Privacy Policy   |   Free Gift CDs   |   Tips & Tricks

 
 

What's New  |  Home  |  Courses  |  Demo  |  Learn More  |  Contact  |  Order