Basing the report output of the current record on the data contents of the previous record...
Posted: Fri Apr 08, 2011 11:23 am
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
If PreviousValue ({Datasource.My Column}) " " Then
Formula = "Hello" Else
Formula = ""
End If