I wonder if there is a way in crystal reports to do something like the following:
I have a table with data like this:
ID MeshName RetainedWeight
654 3.3 inches 20.00
789 3.0 inches 20.00
321 1.4 inches 20.00
...
And I need to show them in crystal reports like this:
Title Here %
Retained 3 inches 33.3
Retained 2.3 inches, passing 3 inches 33.3
Retained 1.4 inches, passing 2.3 inches 33.3
Retained ... inches, passing 1.4 inches ...
So, as you can see I need to show the current record as well as the MeshName of the previous one, any ideas?
I’m thinking: maybe with some variable that retains the previous MeshName…?
You can refer to values in the previous or next details row by using the functions Previous and Next.
So in your example, it might be a formula called @Title with the text :
You can also use the PreviousIsNull and NextIsNull functions to make sure you don’t have problems with the last or first rows.