Condición de salida para un capo de un informe

Buenos días, necesito poner un criterio o condición de salida en un campo dentro de una tabla de propiedades para que en caso de que otro campo esté vacío o no contenga descripción alguna, se lance un texto predeterminado.

Añado un objeto texto y lo condiciono según el campo referencia poniendo la sintaxis

<<Tabla.Campo>>""

y no funciona

pruebo también con 

<<Tabla.Campo>>null

<<Tabla.Campo>>false

y tampoco funciona

Esta es la condición de salida, si el campo Proyecto de la tabla Project está vacío, entonces

Escribe XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Pero no lo consigo.

Gracias

Parents
  • If you are trying to have an entity print data from your database if it is there, but print default text if it is not, simply modify the original entity text expression as follows

    If the original text entity expression was

    <<PROJECT.Proyecto>>

    Then changing it to

    <<HasData(<<PROJECT.Proyecto>>,<<PROJECT.Proyecto>>,"XXXXXXXXXXX")>>

    Will print the data in the field <<PROJECT.Proyecto>> if it is there but will print the text XXXXXXXXX if the field is empty. There is no need for a second entity with an output condition. 

Reply
  • If you are trying to have an entity print data from your database if it is there, but print default text if it is not, simply modify the original entity text expression as follows

    If the original text entity expression was

    <<PROJECT.Proyecto>>

    Then changing it to

    <<HasData(<<PROJECT.Proyecto>>,<<PROJECT.Proyecto>>,"XXXXXXXXXXX")>>

    Will print the data in the field <<PROJECT.Proyecto>> if it is there but will print the text XXXXXXXXX if the field is empty. There is no need for a second entity with an output condition. 

Children
No Data