mercredi 28 juillet 2021

IF Then Else Statement in eclipse in expression builder

enter image description here

In the output there are two language NLD and FRA. There is an if statement that i have been trying to make that if the language "bpp_langue_code" is FRA the results of the "bpa_ad_ville2" should be "Brussel" else the "bpa_ad_ville2" should be "Bruxelles".

But it's not working and showing no syntax error.

Below is my code:

if (row["BPP_LANGUE_CODE"] == "FRA") {
  (row["bpa_ad_ville2"] == "Bruxelles");
} else {
  (row["bpa_ad_ville2"] == "Brussel");
}

Any ideas? Thanks!

Aucun commentaire:

Enregistrer un commentaire