If And ?

tompynation
tompynation Member Posts: 398
Is this impossible:

IF lv_TotaalVolumePigment = 0 AND lv_TotaalAbsorptie = 0 THEN

I get error:

Type Conversion is not possible because one of the sides isnt from an allowed type,.

Integer AND Decimal

:?:

Answers

  • idiot
    idiot Member Posts: 651
    Is this impossible:

    IF lv_TotaalVolumePigment = 0 AND lv_TotaalAbsorptie = 0 THEN

    I get error:

    Type Conversion is not possible because one of the sides isnt from an allowed type,.

    Integer AND Decimal

    :?:

    You need brackets
    IF (lv_TotaalVolumePigment = 0) AND (lv_TotaalAbsorptie = 0) THEN
    NAV - Norton Anti Virus

    ERP Consultant (not just Navision) & Navision challenger
  • tompynation
    tompynation Member Posts: 398
    lol That isnt mentionned in the develoment book

    Anyway thanks