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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Text Field is blank in a Query



 
 
Thread Tools Display Modes
  #1  
Old January 28th, 2010, 01:09 PM posted to microsoft.public.access.forms
denise
external usenet poster
 
Posts: 388
Default Text Field is blank in a Query

I have a field called Training Topic 01, Training Topic 02, etc.

If one of those fields is blank, I do not want to include that field in my
report.

What do I put in the criteria?

Thanks.


--
Denise B.
  #2  
Old January 28th, 2010, 01:43 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Text Field is blank in a Query

Is not null
--
Milton Purdy
ACCESS
State of Arkansas


"Denise" wrote:

I have a field called Training Topic 01, Training Topic 02, etc.

If one of those fields is blank, I do not want to include that field in my
report.

What do I put in the criteria?

Thanks.


--
Denise B.

  #3  
Old January 28th, 2010, 07:37 PM posted to microsoft.public.access.forms
denise
external usenet poster
 
Posts: 388
Default Text Field is blank in a Query

Sorry. I should of said if the field is blank do not show in the report.

If the field has text in it, then it needs to go into the report.


--
Denise B.


"golfinray" wrote:

Is not null
--
Milton Purdy
ACCESS
State of Arkansas


"Denise" wrote:

I have a field called Training Topic 01, Training Topic 02, etc.

If one of those fields is blank, I do not want to include that field in my
report.

What do I put in the criteria?

Thanks.


--
Denise B.

  #4  
Old January 28th, 2010, 07:58 PM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Text Field is blank in a Query

On Thu, 28 Jan 2010 05:09:01 -0800, Denise
wrote:

I have a field called Training Topic 01, Training Topic 02, etc.


Are these *FIELDS* in a table?

If so your table structure is wrong: you're "committing spreadsheet". If you
have up through Training Topic 10, what will you do when there are eleven
topics?


If one of those fields is blank, I do not want to include that field in my
report.

What do I put in the criteria?


Criteria work by either selecting an entire record... or not selecting it. If
these are all fields in the same record, then criteria on a query will not
help. If the field is NULL it will, of course, show as blank on the report; if
you want to also suppress the label of the textbox, you'll need some VBA code
in the section's Format event.
--

John W. Vinson [MVP]
 




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 01:41 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.