Conditional misplaced text

Stimulsoft Reports.NET discussion
Post Reply
pierrem
Posts: 2
Joined: Wed Apr 11, 2018 4:35 pm

Conditional misplaced text

Post 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
Lech Kulikowski
Posts: 6437
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditional misplaced text

Post by Lech Kulikowski »

Hello,

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

Thank you.
pierrem
Posts: 2
Joined: Wed Apr 11, 2018 4:35 pm

Re: Conditional misplaced text

Post 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 (?)
Lech Kulikowski
Posts: 6437
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditional misplaced text

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply