Okay, here's the scenario:
I want to display sales in a query by year, side by side. I always pick six years, though they are subject to change. Those six possible years are stored in a single-record "profile" table that can be updated by the end user.
The table structure is simply this:
FieldName Type Keyfield
============== ===== ========
TransactionID Autonumber Yes
Year Text No
Sales Currency No
This table actually contains 20 years of sales, but I only want to report on the 6 possible as defined in my profile table.
The catch is, that I want those six years of sales, shown side by side as a single query record.
A cross-tab query won't work for me, because basing a report on a cross-tab query has it's own set of problems, especially when you introduce after-sorting, etc.
I want to display sales in a query by year, side by side. I always pick six years, though they are subject to change. Those six possible years are stored in a single-record "profile" table that can be updated by the end user.
The table structure is simply this:
FieldName Type Keyfield
============== ===== ========
TransactionID Autonumber Yes
Year Text No
Sales Currency No
This table actually contains 20 years of sales, but I only want to report on the 6 possible as defined in my profile table.
The catch is, that I want those six years of sales, shown side by side as a single query record.
A cross-tab query won't work for me, because basing a report on a cross-tab query has it's own set of problems, especially when you introduce after-sorting, etc.