jpalmer150
Technical User
I have 24 fields in my database. One for each month for 2 yrs with numeric values.
JAN03 FEB03 MAR03 .... NOV04 DEC04
It was necessary to setup the database this way to minimize the record volume.
I'd like the report to display the last 12 months depending on a selection that the user makes. For instance, if the user selects the current period as FEB04 I'd like Crystal to show just 12 fields ending with FEB04.
Is there a way this can be done considering the way the database is setup? I already tried using a Union query to arrange the data vertically instead of horizontally. But when I did this the record count shot up over 10Million.
I guess I’m looking for a why to dynamically select fields instead of records.
Has anyone done this before?
JAN03 FEB03 MAR03 .... NOV04 DEC04
It was necessary to setup the database this way to minimize the record volume.
I'd like the report to display the last 12 months depending on a selection that the user makes. For instance, if the user selects the current period as FEB04 I'd like Crystal to show just 12 fields ending with FEB04.
Is there a way this can be done considering the way the database is setup? I already tried using a Union query to arrange the data vertically instead of horizontally. But when I did this the record count shot up over 10Million.
I guess I’m looking for a why to dynamically select fields instead of records.
Has anyone done this before?