A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Filter where criteria is contained in text string



 
 
Thread Tools Display Modes
  #1  
Old April 24th, 2010, 12:59 AM posted to microsoft.public.access.reports
jay
external usenet poster
 
Posts: 2
Default Filter where criteria is contained in text string

My reports Record Source has a concatonated field. I need to filter
where my criteria is one of the concatonated items. For example, my
field called Groups may have "Foxmoor, Senior". I need to filter where
the group field contains "Foxmoor". Any suggestions would be
appreciated.

  #2  
Old April 24th, 2010, 01:16 AM posted to microsoft.public.access.reports
Al Campagna[_2_]
external usenet poster
 
Posts: 1,462
Default Filter where criteria is contained in text string

Jay
Your initial post appoears to be in HTML format. As far as I know,
Plain Text format is used in these newsgroups. No big deal... just a
head's up...
http://www.mvps.org/access/netiquette.htm

Let's say your string is named [Location]
Then...
Like "*" & "Foxmoor" & "*"
or
Like "*Foxmoor*"
would find "Foxmoor" anywhere within [Location].
--
hth
Al Campagna
Microsoft Access MVP 2007-2009
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."


"jay" wrote in message
news:A8CE4FCCCA51479C9C54CC0F86A69F48@JayPC...
My reports Record Source has a concatonated field. I need to filter where my
criteria is one of the concatonated items. For example, my field called
Groups may have "Foxmoor, Senior". I need to filter where the group field
contains "Foxmoor". Any suggestions would be appreciated.


  #3  
Old April 24th, 2010, 05:42 AM posted to microsoft.public.access.reports
jay
external usenet poster
 
Posts: 2
Default Filter where criteria is contained in text string

Thanks. This worked fine. Also, I will check my email client settings as
this is the first time anyone has brought up the HTML issue. Thanks
again.

-----Original Message-----
From: Al Campagna ]
Posted At: Friday, April 23, 2010 5:16 PM
Posted To: microsoft.public.access.reports
Conversation: Filter where criteria is contained in text string
Subject: Filter where criteria is contained in text string


Jay
Your initial post appoears to be in HTML format. As far as I know,
Plain Text format is used in these newsgroups. No big deal... just a
head's up...
http://www.mvps.org/access/netiquette.htm

Let's say your string is named [Location]
Then...
Like "*" & "Foxmoor" & "*"
or
Like "*Foxmoor*"
would find "Foxmoor" anywhere within [Location].
--
hth
Al Campagna
Microsoft Access MVP 2007-2009
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your
life."


"jay" wrote in message
news:A8CE4FCCCA51479C9C54CC0F86A69F48@JayPC...
My reports Record Source has a concatonated field. I need to filter
where my criteria is one of the concatonated items. For example, my
field called Groups may have "Foxmoor, Senior". I need to filter where
the group field contains "Foxmoor". Any suggestions would be
appreciated.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.