Data Viewer - show/hide icons based on database value


I need to be able to display a warning icon if a value in my database exceeds a certain value.

I know how to build the Customer Data Viewer and I know the “Advanced Binding”.

But where and how should the logic around the display of the icons be placed?

Does anyone know of a relevant thread or examples of this?

Example of what I would like to achieve is:
FieldValue > 8 - show red icon
FieldValue < 3 - show green icon

Conditional binding with the data viewer list is not possible at this time. Your options are to paint the DVL or to use a layouts component and cloning.

1 Like

Thanks for the reply.

I’m not sure I’m catching the purpose of the “layouts” component in relation to the specific issue.

So there is no way I can show/hide a component/image based on a value?

Did you try the “paint the DVL” method mentioned above? Because that is a way to alter the look of DVL elements based on conditional values.


Thank you for your reply.
I have looked a bit at the solution of painting the DLV, but I do not think it is the right technical solution to loop through a temporary table.
So I have solved it with formulas in the database, which generate a filename depending on which image to display.


Nice solution!!!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.