Page 1 of 1

Conditional misplaced text

Posted: Wed Apr 11, 2018 4:49 pm
by pierrem
Hi Stimulsoft

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
		)
	)
}
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

Re: Conditional misplaced text

Posted: Thu Apr 12, 2018 8:06 pm
by Lech Kulikowski
Hello,

Could you send us a sample report which reproduces the issue for analysis?

Thank you.

Re: Conditional misplaced text

Posted: Fri Apr 13, 2018 8:02 am
by pierrem
OK...
Where are stored the files/reports ?
I'm using your software through the french EBP accounting software ... I guess they are stored in database (?)

Re: Conditional misplaced text

Posted: Fri Apr 13, 2018 9:19 pm
by Lech Kulikowski
Hello,

In this case, you should request to developers of your EBP accounting software.

Thank you.