Hi
Using Crystal 2011. Connecting to Pervasive 11 database via ODBC.
The database calculates Chart of Accounts (COA) opening / closing values each and everytime user nominates a period. It DOESNT hold any values other than at transaction level . It literally calculates the balance from the date of database inception to dates less than period nominated but user.
e.g. Opening balance calc for user nominating period 1/7/12 - 31/7/12 would be 1/1/2003 (database inception) to 30/6/12.
I want to create a report that lists for each chart of account - an opening balance, the transaction within the user nominated period and then calculates the closing balance but the sum of opening balance + or - transcations for period.
e.g
ACCOUNT
BANK opening balance 5500.00
1/7/2012 Tran #1 -100.00
3/7/2012 Deposit 900.00
closing balance 6300.00
I have created a report with group#1 on COA, then applied a group filter to parameter nominated {?Start Date} and {?End Date} This grabs the correct transactions however I am having issue in calculating the opening balance. I have tried a running total with formula of Sum on Amount for dates >= 1/1/2003 (database inception) and <{?Start Date}, reset on each group change but have no values returned.
Sorry probably an abvious answer but am stuck.
Thanks for your help.
Using Crystal 2011. Connecting to Pervasive 11 database via ODBC.
The database calculates Chart of Accounts (COA) opening / closing values each and everytime user nominates a period. It DOESNT hold any values other than at transaction level . It literally calculates the balance from the date of database inception to dates less than period nominated but user.
e.g. Opening balance calc for user nominating period 1/7/12 - 31/7/12 would be 1/1/2003 (database inception) to 30/6/12.
I want to create a report that lists for each chart of account - an opening balance, the transaction within the user nominated period and then calculates the closing balance but the sum of opening balance + or - transcations for period.
e.g
ACCOUNT
BANK opening balance 5500.00
1/7/2012 Tran #1 -100.00
3/7/2012 Deposit 900.00
closing balance 6300.00
I have created a report with group#1 on COA, then applied a group filter to parameter nominated {?Start Date} and {?End Date} This grabs the correct transactions however I am having issue in calculating the opening balance. I have tried a running total with formula of Sum on Amount for dates >= 1/1/2003 (database inception) and <{?Start Date}, reset on each group change but have no values returned.
Sorry probably an abvious answer but am stuck.
Thanks for your help.