Formula Coding
Posted: Wed Dec 27, 2023 7:11 am
Hi,
The below code isn't giving me the desired results. Any idea what the issue can be? It works well if only one of the paragraphs are in. Otherwise, it checks only the last one? How can I have it check all if necessary?
Thank you very much!
The below code isn't giving me the desired results. Any idea what the issue can be? It works well if only one of the paragraphs are in. Otherwise, it checks only the last one? How can I have it check all if necessary?
Thank you very much!
Code: Select all
value = ""
Iterate {{Order.Buyers}} From 1 To #{{Order.Buyers}}
IF ((@.BankruptcyDistrictResults## = "no records") AND (@.District## <> {{Order.Properties[1].BankruptcyDistrict#}})) Then
value = True
Else
value = False
EndIf
Break
Loop
Iterate {{Order.Sellers}} From 1 To #{{Order.Sellers}}
IF ((@.BankruptcyDistrictResults## = "no records") AND (@.District## <> {{Order.Properties[1].BankruptcyDistrict#}})) Then
value = True
Else
value = False
EndIf
Break
Loop
Iterate {{Order.Others}} From 1 To #{{Order.Others}}
IF ((@.BankruptcyDistrictResults## = "no records") AND (@.District## <> {{Order.Properties[1].BankruptcyDistrict#}})) Then
value = True
Else
value = False
EndIf
Break
Loop