Birt - How to display a default value for a data row element -


so want field in table show value data if not blank, , show text otherwise.

i tried using expression:

datasetrow["date_billed"] || "not yet billed" 

but didn't seem work.

is there trick i'm missing?

try replacing existing data field dynamic text report item, containing following expression:

{row["date_billed"]>"" ? row["date_billed"] : "not yet billed"} 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -