I'm working on creating a report that is based on a query that can contain at any given time a different number of fields depending on what the user selects from the UI.
The user can select anywhere from 1 to 6 different fields to be breakpoints on the report. If he selects only 1 field, then the query contains only that field plus the static ones. If he selects 2 fields, then the query contains those 2 fields plus the static ones, etc.
The querydef for the query is rebuilt every time the user accesses the UI.
If I build the report based on the most recently created query, then the next time the query is rebuilt, the report will not match it.
Anyone encountered this problem before?
The user can select anywhere from 1 to 6 different fields to be breakpoints on the report. If he selects only 1 field, then the query contains only that field plus the static ones. If he selects 2 fields, then the query contains those 2 fields plus the static ones, etc.
The querydef for the query is rebuilt every time the user accesses the UI.
If I build the report based on the most recently created query, then the next time the query is rebuilt, the report will not match it.
Anyone encountered this problem before?