samedi 29 février 2020

Nested If Else Statement in Crystal Reports

I want to nest if-else statements in Crystal Reports, but I don't know the necessary syntax. How can I arrange something like this:

Local StringVar x;
If (IsNull({datatable.id}) or {datatable.id} ="") then
    x := ""
Else
   (If ToText({datatable.id})  <= {?parameter} Then
       x := "new"
Else
       x:= "")

Aucun commentaire:

Enregistrer un commentaire