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 
Double Click Error
Lee Shastid 
    
9 months ago
On my home inventory DB there is a double click event to open product form with all the details. When I double click I get an error message. The expression On DBL Clk you entered as the event property setting produced the following error: Return without GoSub. What is strange I can go to the code builder and look at the code but I DONT make any changes and when I go back into the Db it works fine until I close it.  Here is my code.... DoCmd.OpenForm "ProductF", , , "Id =" & ID. Any help woul be appreciated.
Lee Shastid OP  @Reply  
    
9 months ago

Sami Shamma  @Reply  
             
9 months ago
Please show the whole procedure code.
Lee Shastid OP  @Reply  
    
9 months ago
Is this what you are asking for?
Private Sub ItemDescription_DblClick(Cancel As Integer)
DoCmd.OpenForm "ProductF", , , "Id =" & ID
End Sub
Sandra Truax  @Reply  
         
9 months ago
I had this problem once, and fixed it by doing a Debug > Compile from the VBA Editor, and the Compacting and Repairing the database.
Lee Shastid OP  @Reply  
    
9 months ago
Sandra
Thank you. I know how to compact and repair I will try that. The debug I will research and learn that too.
Lee Shastid OP  @Reply  
    
9 months ago
Sandra the debug option seem to correct it thank you. Sami thank you also.
Alex Hedley  @Reply  
           
9 months ago

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 7:58:32 PM. PLT: 1s