我有一个案例,水晶报表的公式中有多个 if else
`Stringvar name := Right({vRptAuctionTotalsByBlock.BlockName},2)
Stringvar result :=""
If ToText(Trim(name)) = 'A'
Then result := '98'
Else
If ToText(Trim(name)) = 'B'
Then result :='99'
Else result := name;
result`
Run Code Online (Sandbox Code Playgroud)
当我保存它时,它向我显示了消息
`the remaining text does not appear to be part of the formula`
Run Code Online (Sandbox Code Playgroud)
我该如何修复它?谢谢。
P/s: 哪里可以找到学习水晶报表使用的文档?