Re: Optional grouping of a report
From: Jedster (Jedster_at_discussions.microsoft.com)
Date: 12/07/04
- Next message: K Dales: "RE: remove vbcrf,whitespace at a particular spot."
- Previous message: K Dales: "RE: Tracking 'Actions'"
- In reply to: Alex Dybenko: "Re: Optional grouping of a report"
- Next in thread: Alex Dybenko: "Re: Optional grouping of a report"
- Reply: Alex Dybenko: "Re: Optional grouping of a report"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Dec 2004 08:03:06 -0800
Alex,
Thanks for your reply, however, I'm not quite sure I fully understand your
solution. It seems that this would only allow me to switch a single grouping
option to any field of my choice.
The problem with this method is that, within my report, I already have a
number of other grouping levels which I wish to retain, and so it is only the
StoreName grouping level that I wish to set as optional. However, I'm not
sure how I might be able to 'optionally' remove all traces of 'StoreName'
from both the display and grouping levels of the report.
Regards,
Jedster
"Alex Dybenko" wrote:
> you can add a "GroupByThis" field to your report source query, aliasing some
> default grouping field, then group report using it. now you can just change
> report recordsource SQL, setting alias GroupByThis to necessary field - and
> report will be grouped accordingly
>
> --
> Alex Dybenko (MVP)
> http://Alex.Dybenko.com
> http://www.PointLtd.com
>
>
>
> "Jedster" <Jedster@discussions.microsoft.com> wrote in message
> news:3B3A359E-AAAF-4C28-8ACE-4D68FFD2081D@microsoft.com...
> > Is there any way I can create a flexible report whereby the grouping for
> > it
> > is optional? I have created a sales report that is sourced from a
> > crosstab
> > query and I now want to provide users with the option (via a form) to
> > group
> > the data on the report by store. I have found a way of amending the
> > query's
> > SQL for this as appropriate, however, I now need a way to firstly amend
> > the
> > grouping options for the report, and then to prevent the report from
> > requesting a parameter value for the 'StoreName' field each time that it
> > is
> > not required.
> >
> > Any help will be much appreciated.
> >
> > Regards,
> >
> > Jedster
>
>
>
- Next message: K Dales: "RE: remove vbcrf,whitespace at a particular spot."
- Previous message: K Dales: "RE: Tracking 'Actions'"
- In reply to: Alex Dybenko: "Re: Optional grouping of a report"
- Next in thread: Alex Dybenko: "Re: Optional grouping of a report"
- Reply: Alex Dybenko: "Re: Optional grouping of a report"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|