PC Review


Reply
Thread Tools Rate Thread

Access 2010 AND Query Help

 
 
Helen Wheels
Guest
Posts: n/a
 
      12th Mar 2011
I'm having a problem with an AND query and would be grateful for any
help.

The field in the table I'm querying is made up of data such as CS,HS,S
S,CA,SW
CS,S
CA,HS

I need to find fields containing CA and S so I'm using *CA* AND *S*.

However, the query is returning all fields with either CA or S
contained in them rather than fields with CA and S.

Any help will be gratefully received.

HW
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      12th Mar 2011
On Sat, 12 Mar 2011 16:50:04 +0000, Helen Wheels <(E-Mail Removed)> wrote:

>I'm having a problem with an AND query and would be grateful for any
>help.
>
>The field in the table I'm querying is made up of data such as CS,HS,S
> S,CA,SW
>CS,S
>CA,HS
>
>I need to find fields containing CA and S so I'm using *CA* AND *S*.
>
>However, the query is returning all fields with either CA or S
>contained in them rather than fields with CA and S.
>
>Any help will be gratefully received.
>
>HW


See my reply in gettingstarted. Please don't multipost.
--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also http://www.utteraccess.com
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wild card not working in Access 2010 query JayTee Microsoft Access Forms 4 27th May 2010 06:28 PM
Left Join query not working in Access 2010 Eric Heinold Microsoft Access Queries 0 4th May 2010 08:07 PM
Re: Access 2010 Forms - Converting 2007 Client into 2010 Web Tom van Stiphout Microsoft Access Form Coding 0 26th Mar 2010 02:03 PM
RE: Access 2010 Forms - Converting 2007 Client into 2010 Web Maurice Microsoft Access Form Coding 0 26th Mar 2010 01:48 PM
In Access 2010, how do I create a SQL query? ew68 Microsoft Access Queries 0 14th Mar 2010 11:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:01 PM.