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 
Useful NavF Mods
Ronald de Boer 
      
13 months ago
Hi All,

I love Richard's and John's NavF SubForm which Richard taught in Developer Lesson 49 Part 4.  I have modified slightly for 2 reasons which Richard thought 1, useful for all to see.  Images below of the code.

1. I had a problem where all buttons except the New Button worked.  The reason I found the code in NewBtn_Click() was (see image NewBtn_Click) and the Controls(0).SetFocus line.
It just happened that most of my Forms Control(0) is a Label.  You cannot SetFocus to a label.  With the help of ChatGPT I deleted that line and replaced with the 2nd image. This solved my problem with most of my forms.
2.  Now Richard said this lesson was a no vba code in the form iotself.  I have added one line of code in the form so NAVF is still a drop in subform where you can make one of the buttons invisible.  I hav e a number of forms where I don't want the user  to enter new records.  The user needs to just edit the record.  So image three shows the 1 line to make in my case the NewBtn invisible.  Image 3 and 4 the result.

Hope mthis helps some of  you.

Regards
Rdb, Geelong Australia
Ronald de Boer OP  @Reply  
      
13 months ago

Ronald de Boer OP  @Reply  
      
13 months ago

Ronald de Boer OP  @Reply  
      
13 months ago

Ronald de Boer OP  @Reply  
      
13 months ago

Ronald de Boer OP  @Reply  
      
13 months ago
Sorry for the typos

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: 5/9/2026 4:27:54 PM. PLT: 0s