I have a record selection formula, Which was working fine Till I added another clause to it.
Before changing(Which was working fine):
IF {Query1. Acronym} = "ABC" AND ( (join({?prm_BCD},',')) = 'HEMO') then {Query1.Desc} like "Home"
Else IF {Query1.Acronym} = "ABC" AND ( (join({?prm_BCD},',')) <> 'HEMO') then {Query1.Desc} <> "Hemo"
Else if {Query1. Acronym} <> 'ABC' then {Query1.Desc} <> "Hemo"
After changing(Its throwing me an error crw32.exe and shutting down):
IF {Query1. Acronym} = "ABC" AND ( (join({?prm_BCD},',')) = 'HEMO') then {Query1.Desc} like "Home"
Else IF {Query1.Acronym} = "ABC" AND ( (join({?prm_BCD},',')) <> 'HEMO') then {Query1.Desc} <> "Hemo"
ELSE IF {Query1. Acronym} = "EFG" AND ( (join({?prm_BCD},',')) = 'HEMO') then {Query1.Desc} like "EFG Home"
Else IF {Query1. Acronym} = "EFG" AND ( (join({?prm_BCD},',')) <> 'HEMO') then {Query1.Outcome Group Desc} <> "EFG Home" and {Query1.Outcome} <> "Home"
Else if {Query1. Acronym} <> 'ABC' AND {Query1.Acronym} <> 'EFG' then {Query1.Desc} <> "Hemo" and {Query1.Desc} <> "EFG Home"
Thanks in advance.
Before changing(Which was working fine):
IF {Query1. Acronym} = "ABC" AND ( (join({?prm_BCD},',')) = 'HEMO') then {Query1.Desc} like "Home"
Else IF {Query1.Acronym} = "ABC" AND ( (join({?prm_BCD},',')) <> 'HEMO') then {Query1.Desc} <> "Hemo"
Else if {Query1. Acronym} <> 'ABC' then {Query1.Desc} <> "Hemo"
After changing(Its throwing me an error crw32.exe and shutting down):
IF {Query1. Acronym} = "ABC" AND ( (join({?prm_BCD},',')) = 'HEMO') then {Query1.Desc} like "Home"
Else IF {Query1.Acronym} = "ABC" AND ( (join({?prm_BCD},',')) <> 'HEMO') then {Query1.Desc} <> "Hemo"
ELSE IF {Query1. Acronym} = "EFG" AND ( (join({?prm_BCD},',')) = 'HEMO') then {Query1.Desc} like "EFG Home"
Else IF {Query1. Acronym} = "EFG" AND ( (join({?prm_BCD},',')) <> 'HEMO') then {Query1.Outcome Group Desc} <> "EFG Home" and {Query1.Outcome} <> "Home"
Else if {Query1. Acronym} <> 'ABC' AND {Query1.Acronym} <> 'EFG' then {Query1.Desc} <> "Hemo" and {Query1.Desc} <> "EFG Home"
Thanks in advance.