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

Report Query



 
 
Thread Tools Display Modes
  #1  
Old November 3rd, 2009, 10:15 PM posted to microsoft.public.access
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Report Query

Null_Check: IIF([Field1] Is Null OR [Field2] Is Null OR [Field3] Is Null
OR [Field4] Is Null OR [Field5] Is Null OR [Field6] Is Null OR [Field7] Is
Null, 1, 0)

And then use criteria 1

--
Build a little, test a little.


"Steve" wrote:

I am trying to make a query (or something in the report) that will take 7
fields from the table, and if ANY of the 7 fields is missing data, then it
will show up in the query. I try to use the "Is Null" command but that says
that they ALL have to be missing to show up. I want it if ANY of the
combination in the 7 fields is missing to show up.
--
Steve

  #2  
Old November 4th, 2009, 03:30 PM posted to microsoft.public.access
Steve
external usenet poster
 
Posts: 2,662
Default Report Query

Thanks Karl...though I am not as advanced in the programming as you are, so I
have another question. Do I put this in the report filter? Or the on the
criteria line of the query? What do you mean put criteria 1?
--
Steve


"KARL DEWEY" wrote:

Null_Check: IIF([Field1] Is Null OR [Field2] Is Null OR [Field3] Is Null
OR [Field4] Is Null OR [Field5] Is Null OR [Field6] Is Null OR [Field7] Is
Null, 1, 0)

And then use criteria 1

--
Build a little, test a little.


"Steve" wrote:

I am trying to make a query (or something in the report) that will take 7
fields from the table, and if ANY of the 7 fields is missing data, then it
will show up in the query. I try to use the "Is Null" command but that says
that they ALL have to be missing to show up. I want it if ANY of the
combination in the 7 fields is missing to show up.
--
Steve

  #3  
Old November 4th, 2009, 04:03 PM posted to microsoft.public.access
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Report Query

You put it in a blank of the Field row of query in design view and the
criteria in the criteria row below it.
--
Build a little, test a little.


"Steve" wrote:

Thanks Karl...though I am not as advanced in the programming as you are, so I
have another question. Do I put this in the report filter? Or the on the
criteria line of the query? What do you mean put criteria 1?
--
Steve


"KARL DEWEY" wrote:

Null_Check: IIF([Field1] Is Null OR [Field2] Is Null OR [Field3] Is Null
OR [Field4] Is Null OR [Field5] Is Null OR [Field6] Is Null OR [Field7] Is
Null, 1, 0)

And then use criteria 1

--
Build a little, test a little.


"Steve" wrote:

I am trying to make a query (or something in the report) that will take 7
fields from the table, and if ANY of the 7 fields is missing data, then it
will show up in the query. I try to use the "Is Null" command but that says
that they ALL have to be missing to show up. I want it if ANY of the
combination in the 7 fields is missing to show up.
--
Steve

  #4  
Old November 4th, 2009, 04:34 PM posted to microsoft.public.access
Steve
external usenet poster
 
Posts: 2,662
Default Report Query

This worked great. THANKS SO MUCH!
--
Steve


"KARL DEWEY" wrote:

You put it in a blank of the Field row of query in design view and the
criteria in the criteria row below it.
--
Build a little, test a little.


"Steve" wrote:

Thanks Karl...though I am not as advanced in the programming as you are, so I
have another question. Do I put this in the report filter? Or the on the
criteria line of the query? What do you mean put criteria 1?
--
Steve


"KARL DEWEY" wrote:

Null_Check: IIF([Field1] Is Null OR [Field2] Is Null OR [Field3] Is Null
OR [Field4] Is Null OR [Field5] Is Null OR [Field6] Is Null OR [Field7] Is
Null, 1, 0)

And then use criteria 1

--
Build a little, test a little.


"Steve" wrote:

I am trying to make a query (or something in the report) that will take 7
fields from the table, and if ANY of the 7 fields is missing data, then it
will show up in the query. I try to use the "Is Null" command but that says
that they ALL have to be missing to show up. I want it if ANY of the
combination in the 7 fields is missing to show up.
--
Steve

 




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