Aller au contenu principal

conditional maptips

Commentaires

1 commentaire

  • John Nerge
    You can do this using a one-to-one data link that uses the CASE expression:

     

    SELECT

     

    CASE

     

    WHEN Category = 'A'  THEN Field2

     

    WHEN Category = 'B' THEN Field3

     

    WHEN Category = 'C' THEN Field3

     

    END AS Field2

     

    Same expression, but condensed:

     

    SELECT

     

    CASE

     

    WHEN Category = 'B' OR Category = 'C' THEN Field3

     

    ELSE Field 2

     

    END AS Field2
    0

Vous devez vous connecter pour laisser un commentaire.