Yes/no condition in formula field

This script won't work

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

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


1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Mconneen
    • Mconneen
    • 3 yrs ago
    • Reported - view

    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. 

Like Follow
  • 3 yrs agoLast active
  • 1Replies
  • 1395Views