I have a datasource that consists of a single database. The database is a collection of general ledger account information and values by period. In the database are fields like:
GL-ACCT, GL-DESCRIPTION, and there are also unique fields for each accounting period of the current year and prior year. These unique fields carry the value of the GL-ACCT for that unique period. So I have 28 of these unique fields (12 periods for current year, 2 adjustment periods for current year, 12 periods for prior year, 2 adjustment periods for prior year). I want the total of the values from the GLCRYVAL5 field (current year period 5) when the GL-ACCT equals accts 1400, 1401, 1402. I'm not having any luck any way that I write this and would appreciate some help. Using CR 8.5. Many thanks.
GL-ACCT, GL-DESCRIPTION, and there are also unique fields for each accounting period of the current year and prior year. These unique fields carry the value of the GL-ACCT for that unique period. So I have 28 of these unique fields (12 periods for current year, 2 adjustment periods for current year, 12 periods for prior year, 2 adjustment periods for prior year). I want the total of the values from the GLCRYVAL5 field (current year period 5) when the GL-ACCT equals accts 1400, 1401, 1402. I'm not having any luck any way that I write this and would appreciate some help. Using CR 8.5. Many thanks.