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 
Command Button
Richard Van Wagoner 
      
3 years ago
I set up a list form a while back and it has been running great until today. The list form has a list of names from a query that I use to Concatenate First, Middle, and Last Names together, and I have a command button to select the form for the name. Today I get error messages whenever I try to choose a name with an apostrophe (Joe O'Neill). I went to the table and removed the apostrophe and it works but I need it in my reports and Forms. Why did it just start doing this and what can I do to fix it? I have included some screenshots to help explain this.
Richard Van Wagoner OP  @Reply  
      
3 years ago

Richard Van Wagoner OP  @Reply  
      
3 years ago

Richard Van Wagoner OP  @Reply  
      
3 years ago

Kevin Robertson  @Reply  
          
3 years ago
You need to use Double Double Quotes instead of single quotes.
Richard Van Wagoner OP  @Reply  
      
3 years ago
May I ask where? I did not write the Macro. Access wrote it when I set up the Button. I don't know much about Macros I just finished the Expert Class and I will start the Advanced Classes Soon.
Kevin Robertson  @Reply  
          
3 years ago
In the Where Condition: ="[FN]=" & """" & [FN] & """"
Richard Van Wagoner OP  @Reply  
      
3 years ago
I add the double quotes where you showed me and it still doesn't work.
Kevin Robertson  @Reply  
          
3 years ago
I would check the Macro to make sure it saved. Sometimes it doesn't. I've had that happen before.
Richard Van Wagoner OP  @Reply  
      
3 years ago
It did save but throughout the day I have been trying different things. I finally got it to work by deleting the button and redoing it. Just the same as before but it works with no double double quotes.

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 5:41:31 AM. PLT: 1s