Multiple Column Report - esp for Duane Hookom

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I've read several other threads where Duane Hookom answered similar questions
- hope he (you) sees this.

I'm developing a DB to contain historical financial statements for water
districts in our state. I want to print a report that looks like this (sorry
for spacing weirdness):

FIRST WATER DISTRICT
2005 2004 2003 etc.
WaterSales:
Residential 20,000 18,000 17,000
Industrial 10,000 15,000 20,000
Irrigation 6,000 20,000 0
Etc
______ ______ ______
TTL OPER REV 100,000 85,000 120,000

(rest of IS)

Then a page break and the Second Water District, etc.

IE - just like a spreadsheet.


My table that holds the actual report data is structured:

TAa1_AllAccts (table name):
OrgID (PK)
FY (PD)
AcctNo (PK)
AcctValue

This table holds only the year-end value of each account - the composite
Primary Key enforces this by allowing only one AcctValue for each "OrgID - FY
- AcctNo".

Another table is the Chart of Accounts:

TYa1_ChartofAccts:
AcctNo (PK)
AcctName

AcctNo determines the order in which accounts are printed on the IS.

The values of several accounts in the Chart are added together and reported
as one line in District Income Statements. Example, 5 separate Water Services
Revenue accounts are added together and reported on one line titled "Water
Services" on the IS.

Therefore, I built a series of queries to combine specific account values,
leading essentially to a "restated" AllAccts dataset, except with the
combined accounts restated as a single row for each OrgID/FY combo. The query
has these fields:

OrgID
FY
ISOrdr
OrgName
AcctName
AcctValue

I can't figure out how to use this data structure to create the report I want.

M. Hookum on 3/1 referred Diana with a similar question to:

"Try this Knowledgebase article on multiple columns with labels on the left
http://support.microsoft.com/default.aspx?scid=kb;en-us;210044&Product=acc.";

The problem is this solution assumes each row to be printed is a different
field with its own field name and value. My Account Values table would have
to look like:

OrgID (PK)
FY (PD)
Residential
Industrial
Irrigation
And so on for every line in the Income Statement.

On the face of it, such a table seems to not be a "well-normalized" data
structure. But it would work for the solution to my problem defined by the
Knowledge Base article.

Help?

I appreciate any help. Thanks: John D

PS - the Knowledge Base article says Access doesn't have a report option to
easily produce such a report. Why, for heaven's sake, doesn't it? This kind
of report is widely used - seems Access should make it easy to produce.



.



Relevant Pages

  • Re: Multiple Column Report - esp for Duane Hookom
    ... I don't know what field you are grabbing "Second Water ... District" from. ... My table that holds the actual report data is structured: ... AcctNo determines the order in which accounts are printed on the IS. ...
    (microsoft.public.access.reports)
  • Re: Global warming a security risk
    ... dragged into fights over water and other shortages, ... Joining calls already made by scientists and environmental ... The report warned that in the next 30 to 40 years there ... "Climate change exacerbates already unstable situations, ...
    (soc.retirement)
  • OT - Bush & Rice Should Also Be Offed
    ... Syria Must Be Held Accountable for Hariri Killing, ... Rice spoke to reporters after the release of a report by U.N. ... with horror'' watching televised accounts of the brutality experienced ...
    (alt.sports.basketball.nba.la-lakers)
  • Re: Click...
    ... >> he saw a BBC news report (by Micheal ... So, in the interests of fairness, my personal politics are pretty well known ... water pump and a water filter...this allowed a village to pump its own clean ...
    (alt.lang.asm)
  • Homebrew Digest #5523 (March 10, 2009)
    ... TODAY'S HOME BREW DIGEST BROUGHT TO YOU BY: ... Subject: Water Report ... Doubling of the alkalinity or an increase in sulfate to 47 mg/L ...
    (rec.crafts.brewing)