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 
Query To lookup Multiple value
Brian Lothson 
    
2 years ago
I have a table with a notes field and another table with text values that I need to search the notes field and find matches. Not sure if I am going in the right direction, below is not returning anything. If it were working I would like also to return the match value from the patterns table. Any Ideas to look at?

DetailsSELECT [Router_ Notes_Q].item, [Router_ Notes_Q].oper_num, [Router_ Notes_Q].WorkCenter, [Router_ Notes_Q].Notes
FROM [Router_ Notes_Q]
WHERE (((Exists (SELECT  [Patterns].[PatternNum] FROM  [Patterns]
                                        WHERE [Router_ Notes_Q].[Notes]
                                       LIKE """*"" & [Patterns].[PatternNum]  & ""*"""))<>False));

John Davy  @Reply  
         
2 years ago
Try 2 simple queries where one calls the other
John
Brian Lothson OP  @Reply  
    
2 years ago
Hey John,

So what were you thinking? I really don't know how to approach this with one or more queries. Maybe I just need to use a record set and loop through all the values to match them one at a time.

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/16/2026 4:25:33 AM. PLT: 1s