Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
RSBOF OR RSEOF Question
Alexis Cao 
    
3 years ago
Hi My friends:

in the recordsets lessons, i have a confused about the RS.BOF & RS.EOF, if the RS.BOF=true,do it mean it includes the first recordset or not. i know in the reasult, it does not include  the first record, but my feeling said to me, it is the beggining of the file, so it includes, who can fix my confused in my brain, any replies will be thankful
Kevin Robertson  @Reply  
          
3 years ago
The BOF marker is before the first record in the Recordset.
The EOF marker is after the last record in the Recordset.

BOF -- FirstRec -- Rec2 -- LastRec -- EOF
Gregory Clancey  @Reply  
    
3 years ago
So. . .
a loop that continues Until [EOF] will NOT move beyond the Recordset's final record.
Alexis Cao OP  @Reply  
    
3 years ago
thank you, Dear Kevin. i got it
Gary James  @Reply  
      
3 years ago
Gregory, if you loop till you get rs.EOF you have moved past the last record so this is when you break out of the loop.  You have processed all the records in the table.
Gregory Clancey  @Reply  
    
3 years ago
Yes. Valid point. The loop must be constructed properly. Thanks for the clarification.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 12:39:47 PM. PLT: 1s