KrystalKid
Programmer
I am trying to write a formula with an If statement inside a while do loop:
WhilePrintingRecords;
stringVar Name := {sprptCOCETSCrysCaptionSubw_Attorney;1.PartyName} ;
While {sprptCOCETSCrysCaptionSubw_Attorney;1.IsPlaintiff}= True Do
(
If {#RTotal1} > 1 Then
Name&", ET AL"
Else
Name
);
Name
The result is a name where the boolean {IsPlaintiff} field is False, #RTotal1 is a running summary of {IsPlaintiff}=True
Why is the formula picking the wrong boolean and how might I go about fixing it.
WhilePrintingRecords;
stringVar Name := {sprptCOCETSCrysCaptionSubw_Attorney;1.PartyName} ;
While {sprptCOCETSCrysCaptionSubw_Attorney;1.IsPlaintiff}= True Do
(
If {#RTotal1} > 1 Then
Name&", ET AL"
Else
Name
);
Name
The result is a name where the boolean {IsPlaintiff} field is False, #RTotal1 is a running summary of {IsPlaintiff}=True
Why is the formula picking the wrong boolean and how might I go about fixing it.