Sorting error while refreshing Crystal Report
Hi
My requirement is for the latest month i need the record number in the column (Row number ) in detail section, I have created a sort formula
Sort Formula will be the concatenation of month + Employee Id + Salary sorting in Ascending order.
Row number column Formula
then
(
numbervar i =1;
i:=i+1;
i;
)
The formula is working fine and sorting is working properly for the first time, When i refresh the report again with different parameters the Row number column is not working according to the sort.
Month, Employee, salary, Row number
02/28/2015 2356 11 0
02/28/2015 2357 12 0
03/31/2015 2358 0.1 1
03/31/2015 2359 2.3 2
03/31/2015 2360 5.1 3
03/31/2015 2361 6.5 4
After refreshing the report I am getting the Row number not in Sort order
Month, Employee, salary, Row number
02/28/2015 2356 11 0
02/28/2015 2357 12 0
03/31/2015 2358 0.1 3
03/31/2015 2359 2.3 4
03/31/2015 2360 5.1 1
03/31/2015 2361 6.5 2
Thanks