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 
Runtime Error 3079
Michelle Mayo 
     
16 months ago
This button has worked the entire time of my database until a couple of weeks ago...

I'm getting a runtime error when I click on a button that is supposed to take me to another form.
"the specified field 'id' could refer to more than one table listed in the FROM clause of your SQL statement"

When I click on debug it goes to the VBA screen.
This is what is highlighted:

Private Sub RequestsButton_Click()
    DoCmd.OpenForm "RequestListF", , , "id=" & ID
End Sub
Sami Shamma  @Reply  
             
16 months ago
Can you run RequestListF directly from the Navigation pane?
Michelle Mayo OP  @Reply  
     
16 months ago
Yes
Michelle Mayo OP  @Reply  
     
16 months ago
BTW, i'm clueless when it comes to VBA and programming language :)
Adam Schwanz  @Reply  
           
16 months ago
That's usually because you made a query like Customers and Invoices, CustomerID is in both of them, and you brought CustomerID into the query for both tables (Thus creating a CustomerT.CustomerID and a InvoiceT.CustomerID). Try something like

DoCmd.OpenForm "RequestListF", , , "CustomerT.id=" & ID
Replace CustomerT with a table actually used in the record source of that form.
Kevin Robertson  @Reply  
           
16 months ago
Is RequestListF based on a Query with multiple tables?
Michelle Mayo OP  @Reply  
     
16 months ago
Thank you...that worked! :)

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: 6/22/2026 8:41:05 AM. PLT: 1s