The data in the table looks like this:
DEPT,ACCT#,GLYEAR,JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG, SEP,OCT,NOV,DEC

97, 1101, 2005, 2288,2288, 2288, 2288, 2288, 2288, 2288, 2288, 2288, 2288,
0, 0

97, 1101, 2006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

The scenario is this.

A user enters a month and gl year to evaluate against another month and
year. (parameter Beg balance=Jan 2005 and parameter End balance=Jan 2006)

The resulting report would group the data according to section and
subcategory and list the following information as columns:

Acct #, Desc, Dept, glyear, Beg balance (value for Jan 2005), End balance (value for Jan 2006, and the difference between the beginning and ending balances for the parameters entered.


Please help.
Amy