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 
Record Won't Open
Donald Smith 
   
4 years ago
Hello all,
I have created a VendorT and have been entering in data via a VendorF. I have entered over 55 records already. One record for some reason will not open when I click on the open selected Vendor button. All of the other records open without issue. Can anyone suggest what the issue may be? I have deleted the record and re-entered it via the form I created. It still will not open when I go back to that record. All of the other records open without issue.
Adam Schwanz  @Reply  
           
4 years ago
Can you upload some pictures? Snip & Sketch

Look in the table, what is different about that one record? Is it missing a relationship or have a wrong number or letter somewhere? Anything that sets it apart from the others?
Scott Axton  @Reply  
        
4 years ago
Actual story here.  I once had a similar issue. Not unlike you, every time I ran a query my db failed.
Turns out it was because of my customers name.  It was Ron True.  Because of his name my query stopped when ever it hit his record. Really goofed with my head for awhile.

Long story I know, but look at the actual data you are putting in.  What is different?  If you enter another vendor - not the one you are currently entering that fails,  does the different one work?

If so it might be the data.  If not, it might be your tables, forms, or code that are preventing it working.
Maybe a validation rule?

If you can, blocking out any sensitive data of course, please give us some additional detail and even screenshots.
Scott Axton  @Reply  
        
4 years ago
Adam - once again! LOL  
We are BORG....
Adam Schwanz  @Reply  
           
4 years ago
Lol
Donald Smith OP  @Reply  
   
4 years ago
Thanks for all of the responses. I found the problem. It was because I was using an "apostrophe" in the name of that particular Vendor. Apparently, access does not like the use of an apostrophe in a name. Once I removed the apostrophe, problem solved.
Kevin Robertson  @Reply  
          
4 years ago
That isn't really a long term solution as another Vendor could still be entered that contains an apostrophe. I am assuming your form is opened like this:
DoCmd.OpenForm "VendorF",,, "VendorName=" & VendorName

Try using Double Double Quotes like this:
DoCmd.OpenForm "VendorF",,, "VendorName=""" & VendorName & """"

Or instead of using the VendorName, use the ID:
DoCmd.OpenForm "VendorF",,, "VendorID=" & VendorID
Richard Rost  @Reply  
          
4 years ago
This is why I've been saying for years to use the double-double quotes. Don't use single quotes, even though you CAN.

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:55:16 PM. PLT: 0s