Page 1 of 1

Basing the report output of the current record on the data contents of the previous record...

Posted: Fri Apr 08, 2011 11:23 am
by J_T_E
I've created a "labeling" report. When a record (row) within the data source has an entry in a particular column (we'll call it "My_Column") then the next record (row) within the data source needs to have a comment (we'll call it "Hello"). I had the following code written within Crystal Reports before making the switch to Stimulsoft and it worked like a charm. However, I don't know enough about vb.net to figure out how to write equivalent code within the stimulsoft report. Any help would be appreciated. Thanks.

If PreviousValue ({Datasource.My Column}) " " Then
Formula = "Hello" Else
Formula = ""
End If

Basing the report output of the current record on the data contents of the previous record...

Posted: Mon Apr 11, 2011 2:41 am
by Alex K.
Hello,

As a way, you can use variables.
Please see the sample report in attachment.

Thank you.