Computer Learning Zone CLZ Access Excel Word Windows

There is a way out of every box, a solution to every puzzle; it's just a matter of finding it.

-Jean-Luc Picard
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Search form
Hazel Huang 
    
3 years ago
I followed your instruction to build a search form from this video, https://www.youtube.com/watch?v=imEOGui5eic.

Everything worked fine until I bound the form to the Query.  The query/search worked fine, but what stopped working is the "open customer" button and the double click event to open to specific customer (also learned from your previous videos).

The error message for the open customer button is type mismatch, and for the double click event is "Run-time error 2424: the expression you entered has a field, control, or property name that Microsoft Access can't find."

I checked the VBA code, and it didn't strike me anything that would mess up with the function.  The VBA code is as below:

If IsNull(ReferenceID) Then Exit Sub
    DoCmd.OpenForm "ReferenceEntryF", , , "ReferenceID=" & ReferenceID

ReferenceID is the autonumbered field name I use to match records, FYI.

Is this error message normal, meaning that are there other steps I need to carry out after changing the binding my form to the the Query created in the record source.

Thank you.
Kevin Robertson  @Reply  
          
3 years ago
Was ReferenceID added to the Query?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor 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/21/2026 5:32:04 PM. PLT: 0s