Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not equal doesn't show correct data

Status
Not open for further replies.

jambdw

IS-IT--Management
Sep 11, 2019
1
0
0
US
In Record Selection is the following:

{PA_Smart_Chart_Attac.Attach_User_Sub_Type}="Admission Agree"

and returns correct results. But:

{PA_Smart_Chart_Attac.Attach_User_Sub_Type}<>"Admission Agree"

does not return the correct results

What should I look at to figure out why not?
 
Please show some samples of incorrect results when you use the <> formula.

-LB
 
Also, do you want nulls to be returned? You would have to explicitly select them, as in:

(
Isnull(type) or
trim(type)=”” or
Ucase(Type)<>”ADMISSION AGREE”
)

I added a check for case also and blanks, also

-LB
 
The incorrect results are that records where {PA_Smart_Chart_Attac.Attach_User_Sub_Type}="Admission Agree" appear when the {PA_Smart_Chart_Attac.Attach_User_Sub_Type}<>"Admission Agree" is used in the selection.
Case would not be a factor as I select the entry from "Browse data" when creating the selection and variances in the data entered in the field are not allowed.
 
Then. I wonder whether your selection formula is at fault. Do you have an “or” clause somewhere? Please post the full selection formula.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top