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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

QUERY to show record if text present in field



 
 
Thread Tools Display Modes
  #1  
Old April 20th, 2010, 08:45 PM posted to microsoft.public.access.queries
yorkielover02
external usenet poster
 
Posts: 12
Default QUERY to show record if text present in field

I have a query that I would like for it to only show a record if there is
something (text/anything) present in that field. Any ideas on how to do that
would be appreciated.
  #2  
Old April 20th, 2010, 09:05 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default QUERY to show record if text present in field

In the criteria for the field in question put:

Is Not Null

--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"yorkielover02" wrote:

I have a query that I would like for it to only show a record if there is
something (text/anything) present in that field. Any ideas on how to do that
would be appreciated.

  #3  
Old April 20th, 2010, 09:07 PM posted to microsoft.public.access.queries
PieterLinden via AccessMonster.com
external usenet poster
 
Posts: 307
Default QUERY to show record if text present in field

yorkielover02 wrote:
I have a query that I would like for it to only show a record if there is
something (text/anything) present in that field. Any ideas on how to do that
would be appreciated.


WHERE [SomeField] IS NOT NULL

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/201004/1

  #4  
Old April 20th, 2010, 09:22 PM posted to microsoft.public.access.queries
Marshall Barton
external usenet poster
 
Posts: 5,361
Default QUERY to show record if text present in field

yorkielover02 wrote:

I have a query that I would like for it to only show a record if there is
something (text/anything) present in that field. Any ideas on how to do that
would be appreciated.



Set that field's criteria to Is Not Null

--
Marsh
MVP [MS Access]
 




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 03:25 AM.


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