**IF (condition1) AND (condition2) THEN (result:= )**

**If (condition1) AND (condition2)**: those conditions are the same as the basic if-then statement condition; user can use normal operators and formulas here.

Caution: both of the conditions have to be true before it gives the result; otherwise it will look for another alternative result that requires an Else statement .

If (0<[property1]) and ([property1]<10)

If ('[property1]' = 'Text') and ([property2]<10)

If ('[property1]' = 'Text1') and ('[property2]'='Text2')

**Then (result:=)**: this is the result of the if statement when both of the above conditions are true.

Caution: the returned value for the result will need to share the same type, being either a text or number, with the "inherited-from" property.Example 1: ifThen (result:=[property])

Then (result:='[property]') (if the property type is a text)

Then (result:=[property]-10) (if property type is a number)

aequals10andbequals20thendwill be10Example 2: ifaequal10andbis "text" thendwill display "It is correct"

**IF (condition1) OR (condition2) THEN (result:= )**

**If (condition1) OR (condition2)**: those conditions are the same as the basic if-then statement condition; user can use normal operators and formulas here.

Keep in mind: EITHER one of the conditions has to be true; it will give the result. Otherwise it will look for another alternative result that requires an Else statement.

If ([property1]=10) or ([property1]<10)

If ('[property1] = 'Text') or ([property2]<10)

If ('[property1]' = 'Text1') or ('[property2]'='Text2')

**Then (result:=)**: this is the result of the if statement when EITHER one of the above conditions or BOTH are true.

Caution: the returned value for the result will need to share the same type, being either a text or number, with the "inherited-from" property.Then (result:=[property])Then (result:='[property]') (if the property type is a text)Then (result:=[property]-10) (if property type is a number)

Example 1: eitheraequals 10 orbis "text".dwill display "It is correct"Example 2: either a is

anumber smaller than 10 orbis text .dwill display "It is correct"