>IF CONDITION1 = RESULT1 AND CONDITION2 = RESULT2 AND CONDITION3 = RESULT3... > lcReturn = .T. >Else > lcReturn = .F. >ENDIF >convert the logic values to ones and zeros. The add them up - there will be two results - eith a zero - or something more than Zero. Organize such that if the sum of the conditions is zero - fly it as "true) - if the sum is not zero - it is false.