NULL display property is not Work

Stimulsoft Reports.NET discussion
Post Reply
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

NULL display property is not Work

Post by MARIMUTHU K »

Hi hi hi

hi super team,

I am working stiReport 1.6.1 latest version.

I have formated one field for e.g

if field is NULL Value then display Empty string(white space)
So i have changed TextFormat in Number and then Null Dispaly select " ",
But it is no use , Becaze didn't any changed.(NULL display property is not Work)
My Need:
if(Table1.UNITS=="0.00")
e.Value="";
else
e.Value=Table1.UNITS;

So, Please provide solution or other way.


Thanks ahead.


Regards,
Marimuthu K
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

NULL display property is not Work

Post by Vital »



Use following expression:

Code: Select all

{Table1.UNITS=="0.00" ? "": Table1.UNITS}
Thanks.
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

NULL display property is not Work

Post by MARIMUTHU K »

Thanks,

Ok fine.

But Table1.UNIT values are different ,

e.g

1. Table1.UNIT="0" or Table1.UNIT="00" or Table1.UNIT="000" and so on.

that situation i am rite
{Table1.UNIT=="0" ?"":Table1.UNIT} {Table1.UNIT=="00" ?"":Table1.UNIT} {Table1.UNIT=="000" ?"":Table1.UNIT} {Table1.UNIT=="0000" ?"":Table1.UNIT} {Table1.UNIT=="00000" ?"":Table1.UNIT} upt to "00000000"


Is possible ?
same time Table1.UNIT values are dynamically chagend , Becaze it give to user in depeneded on Decimal_UNIT.

Previous I am using CR 11 and available textFormat in Null dispaly.
this option available or not in Stimul Report?


Please provide solution.


Thanks of ahead.


Regards,
Marimuthu K
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

NULL display property is not Work

Post by Edward »

KMarimuthu wrote:Thanks,

Ok fine.

But Table1.UNIT values are different ,

e.g

1. Table1.UNIT="0" or Table1.UNIT="00" or Table1.UNIT="000" and so on.

that situation i am rite
{Table1.UNIT=="0" ?"":Table1.UNIT} {Table1.UNIT=="00" ?"":Table1.UNIT} {Table1.UNIT=="000" ?"":Table1.UNIT} {Table1.UNIT=="0000" ?"":Table1.UNIT} {Table1.UNIT=="00000" ?"":Table1.UNIT} upt to "00000000"


Is possible ?
same time Table1.UNIT values are dynamically chagend , Becaze it give to user in depeneded on Decimal_UNIT.

Previous I am using CR 11 and available textFormat in Null dispaly.
this option available or not in Stimul Report?


Please provide solution.


Thanks of ahead.


Regards,
Please use HideZeros property of StiText component.
Thank you.
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

NULL display property is not Work

Post by MARIMUTHU K »


Thank u.

Yes, I got it.




Marimuthu K
Post Reply