Computer Learning Zone CLZ Access Excel Word Windows

Adventures suck when you're having them.

-Neil Peart
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Search Seminar    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Next button
Robert Baxter 

11 years ago
Hello Richard. This lesson is a good first stab at how to make practical use of VBA. But I seem to have a small issue with the NEXT button after changing from a macro to VBA.

When the CustomerF is first opened, the Company Name combobox at the top is blank.  No problem, so I selected XYZ Corp from the dropdown to check workings of the NEXT button. No go. Even with "XYZ Corp" in the Company Name Field, the NEXT button doesn't show me the next XYZ Corp name (Like Pete Smith). So I clicked on the binocular FIND button next to Company Name that we just converted to VBA, then the FIND button cycled to the next   record from XZY Corp.

It seems like the NEXT button does not set the focus to Company Name like the binocular Find button does. Is there a way to correct this?

Thanks!


Reply from Alex Hedley:

You could add a
CompanyName.SetFocus
To your converted code.
Is the code that was converted referencing the correctly named contols? None have changed name since. It sometimes hardcodes them

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

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 7:36:36 AM. PLT: 1s