Variable set on Databand and Read on related (bottom) Databand in the events

Stimulsoft Reports.WEB discussion
Post Reply
kobayashi
Posts: 3
Joined: Thu Jul 04, 2019 9:19 am

Variable set on Databand and Read on related (bottom) Databand in the events

Post by kobayashi »

Hi All,

I have an Issue...
Initial: VAR1 = "BLA";

[Databand A] => Event Before Print => an variable is setted = VAR1 = "A";

[Databand B] => Main Component on Databand A (no Relations, just Main Component setted) => in Filter I'd like to use an expression: TABLE.COLUMN == VAR1

But VAR1 Value is "BLA" here and should be "A" and also in the Event of Databand B the value is still "BLA" .... but if I create an Text field on Databand B with {VAR1} ...its value here is "A"


Is it a bug or an misunderstanding on my side?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Variable set on Databand and Read on related (bottom) Databand in the events

Post by Lech Kulikowski »

Hello,

Please try to set the NumberOfPass to "Double Pass" for the report.

Thank you.
Post Reply