I have a table that contains 5 fields whose values are determined by the user, and which are subsequently to be used as column headers (for example, Widgets, Gizmos, Doodads, Thingies and Watzits).
A second table holds records containing a date and sales info about each of the 5 fields in the first table (for example, 02/07/21 - 15 - 47 - 33 - 73 - 11).
I want to design a report, in advance, so it will always look the same. But I want the user to be able to select any two fields in the first table, on which to base that report (for example, "Show me by date, the sales of Widgets versus Gizmos".
Because Widgets and Gizmos must serve as the colum headers in the report (and may in fact be *any* two of the 5 fields), and because their corresponding values in the 2nd table will also be unknown until the user's selectin is made, I can't know in advance what either will be. I have to be able to use some kind of substitution in the report for the Header and Detail sections.
Can anyone tell me if that's possible?
Thanks.
A second table holds records containing a date and sales info about each of the 5 fields in the first table (for example, 02/07/21 - 15 - 47 - 33 - 73 - 11).
I want to design a report, in advance, so it will always look the same. But I want the user to be able to select any two fields in the first table, on which to base that report (for example, "Show me by date, the sales of Widgets versus Gizmos".
Because Widgets and Gizmos must serve as the colum headers in the report (and may in fact be *any* two of the 5 fields), and because their corresponding values in the 2nd table will also be unknown until the user's selectin is made, I can't know in advance what either will be. I have to be able to use some kind of substitution in the report for the Header and Detail sections.
Can anyone tell me if that's possible?
Thanks.