Displays Tags Property

I’d like to display 2 different labels in a label using Servoy tags.

What are standard tags and database tags which I can use in text properties of label and button?

The Servoy Wiki refers to “Merging data” section, which I cannot find in the site. http://wiki.servoy.com/display/public/D … n%2C+Image

Can I use an “IF” statement inside the text property?

Hi Erik, you can use a calculation in the table that executes all the logic to get the text you need to display and use that.

function calcTest{
    var textToReturn='';
    if(myfield==0){
        textToReturn='Flag off';
    }else{
        textToReturn='Flag on';
    }
    return textToReturn;
}

Now the tag you should use is %%calcTest%%

Your solution worked. Thanks very much!