Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2005

Tip: Looking for answers? Try searching our database.

New to SQL...Need help with syntax

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lordharliquin - 23 May 2005 16:08 GMT
Can you use the And/Or operators with a Like statement?

My example: WHERE [College Courses] Like 'CHM:###*' or Like "MTH:###*'

It keeps giving me a syntax error, but I don't understand what the problem is.

Thanks for any help you can give me.
Lynn Trapp - 23 May 2005 16:19 GMT
Try this:

WHERE [College Courses] Like "CHM:###*" or [College Courses] Like "MTH:###*"

Signature

Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html

> Can you use the And/Or operators with a Like statement?
>
[quoted text clipped - 4 lines]
>
> Thanks for any help you can give me.
lordharliquin - 23 May 2005 16:27 GMT
Thank you so much. I can code a little and it seems simple, but I haven't
dealt with SQL before and the syntax throws me a little.

> Try this:
>
[quoted text clipped - 8 lines]
> >
> > Thanks for any help you can give me.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.