I have databasefields to check a condition and return multiline text. For example:
returnText = ”
If TD1 = true then returnText = 'text1' If TD2 = true then returnText = returnText + \n' + 'text2' If TD3 = true then returnText = returnText + \n' + 'text3' return returnText
How can I do this with a formula field, or what is another way to do this?
You can do it using formula. Not sure what syntax you use. It’s closer to Basic, but here’s a Crystal Syntax version:
Or with Basic: