Problem with logical operator

(Reg_1_Iz_Reg <> “” and Bool_prom_je = True) or (Reg_1 <> “” and Bool_prom_je = True)

what is wrong with this logic funkcion in if sentance?

Hi @tomaz

The above expression is correct, but looks like you add an “And” word after the True word, can you check that please?

(Reg_1_Iz_Reg <> “” and Bool_prom_je = True) or (Reg_1 <> “” and Bool_prom_je = True)
This is all it is…

Give a try with the following

(Reg_1_Iz_Reg <> "" AndAlso Bool_prom_je = True) or (Reg_1 <> "" AndAlso Bool_prom_je = True)

Regards

Hi @tomaz,

Can you try again using the following condition instead, you may not need to use the Boolean value twice?

(Reg_1_Iz_Reg <> “” or Reg_1 <> “”) and Bool_prom_je =True

Regards,
MY

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.