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 
Return without GoSub
David S 
    
13 years ago
Good Morning,
With an accounts database that I have been using consistently for several years without problem, I am recently and suddenly presented with the following warning message:
The expression After Update you entered as the event property setting produced the following error: Return without GoSub.
* The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function, event, or macro.

When I open the Main Form a field which shows the total of all columns is filled with # signs.

I get the above error message if I try to filter any column.

However if I enter Design View, click on any of the filter combo boxes, click on the Property, Event tab and on the After Update ellipsis to get the vba edit and then exit out of the vba edit (with or without saving it first) the Main Form is correctly presented with the total showing properly and all filter combos working properly.
Any idea how to fix this?
I suspect it is something to do with getting a particular sub-routine into memory, and that sub-routine is called "Requery Form".
Can I get that sub-routine into memory when I open the database?
Thank you for all your help
David


Reply from Richard Rost:

David, I assume you've tried a COMPACT & REPAIR.

Did you name your own VBA subroutine "requery" because if so, that's a reserved word in Access. Try renaming it.

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/17/2026 1:52:34 AM. PLT: 0s