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 
Filter Form Help.
Debbie Heaney 
     
2 days ago
I'm trying to put together another project and I could do with a little help.
I'm fairly certain it's a double double quotes type thing? I just can't get the hang of those.
I'm trying to filter a form (Picture will follow shortly) based on what is entered into a text box, and I'm wanting to use the LIKE keyword to match partial words anywhere in the field.
I'm trying to test with a fixed/static value first before then moving to the textbox.
Debbie Heaney OP  @Reply  
     
2 days ago

Debbie Heaney OP  @Reply  
     
2 days ago
For testing I'm trying to get a partial match on "Battery". The value is fixed for testing but i can't get that to work. The form returns zero matches.
As the screen shot stands the triple double quotes at the end were automatically added in by the autocomplete/correct. I did have it ending in single quotes.
Debbie Heaney OP  @Reply  
     
2 days ago
I had been working on this project for about 3 hours straight doing all sorts of things.
I put the laptop down, got up and walked away. Had a nibble on a bar of chocolate, a drink of juice, paced around the house like an idiot, threw some stuff around in temper.
It was a single versus double quotes thing.

I got it.


If Me.FilterOn = False Then
    Me.Filter = "Comments like '*" & txtFilterCommentsFor & "*'"
    Me.FilterOn = True
    btnToggleFilter.Caption = "Filtered"
Else
    Me.FilterOn = False
    btnToggleFilter.Caption = "Unfiltered"
    txtFilterCommentsFor = ""
End If

Now to take a good long break and eat a decent meal. the project can wait another day.
Donald Blackwell  @Reply  
       
27 hours ago
Yeah, some times you stare at it so long you just have to give your eyes a break.
Add a Reply Upload an Image
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/20/2026 9:46:44 PM. PLT: 0s