Avatar

Correct answer by
Level 6

Please check the updated code below.

if (DropDownList1.value == "New" and DropDownList2.value =="99¢") then BarCode1.rawValue == "NEW1" endif

Updated: if (DropDownList1.rawValue == "NEW" and DropDownList2.rawValue =="99") then Code128BarCode1.rawValue = "NEW1" endif

changes are highlighted and another one is: BarCode1.rawValue = "NEW1" ( "=" not two"==". Two eqals "=="  for comparison only, not for assignment)

-Raghu.

View solution in original post