vblack7770
Programmer
I have created a report and used the following formulas to get the top 2 records for each group.
Formula 1 - whileprintingrecords;
numbervar RowCount:=0;
Formula 2 - whileprintingrecords;
numbervar RowCount:=RowCount+1;
Now that I have those top 2 $ amounts, I would like to get the difference between the two. Of course, using the normal sum and total will only get the sum or total for all records. I just want the difference between the two I have showing. Any suggestions?
Formula 1 - whileprintingrecords;
numbervar RowCount:=0;
Formula 2 - whileprintingrecords;
numbervar RowCount:=RowCount+1;
Now that I have those top 2 $ amounts, I would like to get the difference between the two. Of course, using the normal sum and total will only get the sum or total for all records. I just want the difference between the two I have showing. Any suggestions?