Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Work Order Lessons    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
RunTime Error 3008
Matthew Wolfe 
    
13 years ago
Richard,

When following the updated code builder steps to create the Private Sub, it does work, but only the first time I try to access the form.  For instance, after setting the OpenLocation subroutine (11:30) and updating the other two subs, I save the code and exit code builder.  Close the customer form, and then reopen.  Double Click or Button Click to open store works 1 time.  If I close the Location Form and attempt again, I get a Run-Time Error 3008.  It indicates that the Table Location_T is already opened exclusively by another user or it is already open through the user interface and cannot be manipulated programmatically.  Upon clicking Debug, I am brought to the code builder and the "DoCMD.OpenForm ..." is highlighted in yellow.  My code reads as follows:
DoCmd.OpenForm "Store_F", , , "SKEY_STORE_CURR=" & Reporting_List

How can I get around this issue so that end users can close the location form and still be able to use the code to access new stores from various customer profiles?



Reply from Richard Rost:

I've never encountered this before, and no other students have reported this problem. What version of Access are you working with, and do you have all of the latest service packs installed? Bug like this were notorious in Access 2007 (especially before SP1). Can you recreate the problem with a different form? Have you tried rebuilding the form in a new, blank database? This is one of those things that I really have to SEE to fix.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Work Order Lessons.
 

Next Unseen

 
 
What's This?

 

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: 10/16/2026 2:20:51 PM. PLT: 0s