Conditional misplaced text
Posted: Wed Apr 11, 2018 4:49 pm
Hi Stimulsoft
The version I'm using is 2015.3 / .Net v4.0.30319
Newbie to your software ...
I use
to ckeck a data field, and if True to 'move' to the left another one field on the report.
The problem is that even the condition is False, the second field is also moved.
When I replace "DescriptionColumn_MovableField.Left = 0" with "",
the True displays nothing ("" ... good), and the False displays the data as expected.
BTW, how to have 2 commands for the True ?
meaning, I would like to move the field to the left AND increase its length
All advices and suggestion welcome !
Thks in advance
p
The version I'm using is 2015.3 / .Net v4.0.30319
Newbie to your software ...
I use
Code: Select all
{
IIF
(
Left(SaleDocumentLine.ItemId,3) == "TXT",
DescriptionColumn_MovableField.Left = 0,
IIF
(
IsNull(SaleDocumentLine,"ItemReference")==true||SaleDocumentLine.ItemReference=="",
SaleDocumentLine.ItemId,
SaleDocumentLine.ItemReference
)
)
}
The problem is that even the condition is False, the second field is also moved.
When I replace "DescriptionColumn_MovableField.Left = 0" with "",
the True displays nothing ("" ... good), and the False displays the data as expected.
BTW, how to have 2 commands for the True ?
meaning, I would like to move the field to the left AND increase its length
All advices and suggestion welcome !
Thks in advance
p