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 Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Form Caption from Recordset
Steve Johnston 
      
2 years ago
Hello all. Is it possible to display a form caption based on fields populated through a VBA recordset? I have no problem doing so when the form's Record Source is a table. I created a form that essentially mirrors the workflow in Developer 18 Lessons 4 and 5. When my form loads it will properly display my caption for the first record in the recordset. As I page through the records however the form caption fails to update as expected. I am new to using recordsets and am finding a few issues converting my workflow. I think I am simply failing to properly reference my unbound fields that display the recordset results??

Any assistance would be appreciated.
Kevin Robertson  @Reply  
          
2 years ago
Steve Johnston OP  @Reply  
      
2 years ago
Hi Kevin. I am, in fact, using the On Current event. The issue I was having was the caption remained static as I advanced through the records contained within the recordset. In Developer 18 Lessons 4 and 5 Richard showed how to make custom navigation buttons - I ended up solving my issue by creating a private subroutine for the desired caption display and then not only calling it for the On Current event (which only worked for the first record of the recordset) but also for the On Click event of each navigation button so that it properly updates to reflect whichever new record I have navigated to.

Thank you for the assistance.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 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: 6/22/2026 3:17:33 PM. PLT: 1s