Doesn't output string when dataBand is empty

Stimulsoft Reports.NET discussion
Post Reply
igorLayneks
Posts: 3
Joined: Fri Jun 23, 2023 10:38 am

Doesn't output string when dataBand is empty

Post by igorLayneks »

Hello.

I have a problem with ternary operator. With this expression, the databand is still not displayed in the report view

How i can fix it?
Attachments
pic1.png
pic1.png (50.01 KiB) Viewed 760 times
empty databand
empty databand
pic2.png (10.43 KiB) Viewed 760 times
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Doesn't output string when dataBand is empty

Post by Max Shamanov »

Hello,

Please send us a sample report with test data that reproduces the issue.

Thank you.
igorLayneks
Posts: 3
Joined: Fri Jun 23, 2023 10:38 am

Re: Doesn't output string when dataBand is empty

Post by igorLayneks »

I found a question on my topic. But I don't want to edit the code, is it possible to set a selection in the text field? Report, I can’t throw it off, to use it you need to connect to VPN
https://forumru.stimulsoft.com/viewtopic.php?t=10201
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Doesn't output string when dataBand is empty

Post by Max Shamanov »

Hello,

Unfortunately it's not possible achieve without using scrits.
Please check the attached report with blockly script.

Thank you.
Attachments
ReportTestBlockly.mrt
(21.79 KiB) Downloaded 113 times
Post Reply