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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with a formula 1

Status
Not open for further replies.

cyreports

Programmer
May 12, 2010
89
US
Not sure why, but I am getting a value of DoctorsNPI when I test and I know the specialcase = 2 and the carrier equals MEDICAID IA.

Code:
if {Claims_txt.SpecialCase} = 1 then
     ""
   else if {Claims_txt.SpecialCase} = 2 and {Claims_txt.InsuranceCarrierName} <> "MEDICAID IA" then
     {Claims_txt.DoctorsNPI}
      else if {Claims_txt.SpecialCase} = 3 then
         ""
       else if {Claims_txt.SpecialCase} =4 then
            ""
 
Be very careful with string comparison's, if is there is an extra leading or trailing space, then it will not match.

I hope this helps.
 
Depending upon how you have your report options set up, case might be a factor as well.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top