Boolean value to string

Stimulsoft Reports.NET discussion
Post Reply
acataluffi
Posts: 21
Joined: Tue Apr 26, 2022 2:06 pm

Boolean value to string

Post by acataluffi »

Hi,
I have a field from Datasource that is a boolean.

I want to write and display "START" when this field is 1, otherwise "STOP".
How i can do? I done this with calculated field and variables, but i don't think is the right solution.
Does i display it with an "Indicator" component?
Max Shamanov
Posts: 990
Joined: Tue Sep 07, 2021 10:11 am

Re: Boolean value to string

Post by Max Shamanov »

Hello,

You can use ternary operation.
Please check the attached dashboard

Thank you.
Attachments
TestDashboard.mrt
(2.59 KiB) Downloaded 117 times
Post Reply