If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
MS Access criteria HELP!!
In Access, How can I set criteria to only choose records NOT containing a
certain word. I get that if I put "dog" in criteria it will show me all records containing the word dog, but if what if I want all records not containing the word dog, what do I type for criteria |
#2
|
|||
|
|||
"dog"
-- Sandra Daigle [Microsoft Access MVP] Please post all replies to the newsgroup. dawnovan71 wrote: In Access, How can I set criteria to only choose records NOT containing a certain word. I get that if I put "dog" in criteria it will show me all records containing the word dog, but if what if I want all records not containing the word dog, what do I type for criteria |
#3
|
|||
|
|||
On Thu, 27 Jan 2005 08:25:03 -0800, dawnovan71 wrote:
In Access, How can I set criteria to only choose records NOT containing a certain word. I get that if I put "dog" in criteria it will show me all records containing the word dog, but if what if I want all records not containing the word dog, what do I type for criteria Not Like "* dog *" Note the spaces around the word dog. This prevents not getting words that include dog, such as 'dogmatic'. -- Fred Please only reply to this newsgroup. I do not reply to personal email. |
#4
|
|||
|
|||
Oops, misread the question - you need to use the like statement:
Not Like "*dog*" -- Sandra Daigle [Microsoft Access MVP] Please post all replies to the newsgroup. Sandra Daigle wrote: "dog" dawnovan71 wrote: In Access, How can I set criteria to only choose records NOT containing a certain word. I get that if I put "dog" in criteria it will show me all records containing the word dog, but if what if I want all records not containing the word dog, what do I type for criteria |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Access Error Message when opening database | eah | General Discussion | 3 | January 26th, 2005 10:04 AM |
starting access 97 | Edward Letendre | General Discussion | 2 | January 26th, 2005 02:15 AM |
Hiding Access | Mark A. Sam | Using Forms | 4 | December 1st, 2004 09:09 PM |
Access 2000 -vs- Access 2003? | Mark | General Discussion | 5 | November 30th, 2004 06:36 AM |
Access user profile | Michael Breitsameter | General Discussion | 7 | July 23rd, 2004 07:47 AM |