Ok, there are blanks and there are Nulls. They are not the same. A 'blank'
is a zero lenght string. If you had data in a text field and then deleted
it the results is a zero lenght string, not a null.
Use criteria like this for both Nulls and zero lenght strings ---
Where (field3 is not null or field3 <>"") and (field4 is not null or field4
<>"") and (field5 is not null or field5 <>"")
--
Build a little, test a little.
kay said:
yes i tried using OR but still it gives blank rows for for those fields.
As i have so many blanks.for eg i have around 10000 rows and i have given
critera that display TempId where 'Exception' word is there in those 9 fileds.
So may be there are 9 or 10 counts of 'Exception' in 10000 rows for those 9
fields.
so my purpose is to show rows where this 'Exception' word is found, not
rest of the rows where these 9 fields are blank.
KARL DEWEY said:
Did you try it using OR instead of AND?
--
Build a little, test a little.
:
2+9 means - I have values in all rows for first two fields. but for rest 9
fileds (3rd field to 11th field) some rows for all these 9 fields are blank
and some are non blank rows so What I want to do is that display rows where
3rd fields to 11th fields are non blank (in English 3rd field or 4th or
5th.... is non blank)
i hope i am able to explain my point.
:
I have a table with 2+9 fields.
What does '2+9 fields' mean?
A lot of folks mix logical AND with the english language 'and'.
Your use of 'AND' says that all of the fields must not be null or saying it
another way that no field can be null.
Maybe you want to use 'OR' instead.
--
Build a little, test a little.
:
I have a table with 2+9 fields.
I want to display rows for if [field3] and [field4] and [field5] and
[field6] and [field7] and [field8] is not blank.
I am trying this using Where Clause but it's not working.
I tried
Where (field3 is not null) and (field4 is not null) and (field5 is not null)
and so and so...
Please help.
Thanks