G
Guest
How do I make a query return only records if two fields are not equal?
Thanks.
Thanks.
Duane Hookom said:Add a criteria under Field1 of
<>[Field2]
--
Duane Hookom
MS Access MVP
rml said:How do I make a query return only records if two fields are not equal?
Thanks.
rml said:That works great. Only one problem. I may have a record where the value
of
field one is "abc123 and field two might be blank or have no data. I
would
like it to consider this as not equal and return that record. Does that
make
sense?
Thanks.
Duane Hookom said:Add a criteria under Field1 of
<>[Field2]
--
Duane Hookom
MS Access MVP
rml said:How do I make a query return only records if two fields are not equal?
Thanks.
Duane Hookom said:Change Field1 to Field1 & ""
--
Duane Hookom
MS Access MVP
rml said:That works great. Only one problem. I may have a record where the value
of
field one is "abc123 and field two might be blank or have no data. I
would
like it to consider this as not equal and return that record. Does that
make
sense?
Thanks.
Duane Hookom said:Add a criteria under Field1 of
<>[Field2]
--
Duane Hookom
MS Access MVP
How do I make a query return only records if two fields are not equal?
Thanks.
Randy Harris said:Duane, shouldn't that be the criteria field?
Field2 & ""
--
Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.
Duane Hookom said:Change Field1 to Field1 & ""
--
Duane Hookom
MS Access MVP
rml said:That works great. Only one problem. I may have a record where the value
of
field one is "abc123 and field two might be blank or have no data. I
would
like it to consider this as not equal and return that record. Does
that
make
sense?
Thanks.
:
Add a criteria under Field1 of
<>[Field2]
--
Duane Hookom
MS Access MVP
How do I make a query return only records if two fields are not equal?
Thanks.
Randy Harris said:Duane, shouldn't that be the criteria field?
Field2 & ""
--
Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.
Duane Hookom said:Change Field1 to Field1 & ""
--
Duane Hookom
MS Access MVP
rml said:That works great. Only one problem. I may have a record where the value
of
field one is "abc123 and field two might be blank or have no data. I
would
like it to consider this as not equal and return that record. Does
that
make
sense?
Thanks.
:
Add a criteria under Field1 of
<>[Field2]
--
Duane Hookom
MS Access MVP
How do I make a query return only records if two fields are not equal?
Thanks.