Yes/no condition in formula field
M

This script won't work

if Test = true then
'A pagar' = 'Tipo de licencia'.Precio + 'Tipo de socio'.Precio + 'Tipo de licencia'.Precio
else
'A pagar' = 'Tipo de licencia'.Precio + 'Tipo de socio'.Precio
end

Test is a Yes/No, and A pagar is a formula field. What is wrong?

Thanks

Ninox Profile

You use "=" to test for equality...    You use ":=" for assignment .. 

I am confused by your second line.. Are you testing for equality ?? or do you want to do an assignment if "Test is true".   Assuming the later, you cannot assign values to a "formula field"...  At least not that I am aware of. 

Reply