Changing report grouping programmatically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • amber

    #1

    Changing report grouping programmatically

    Hello,
    I have a report in VB.NET/Crystal Reports.
    I have a criteria form that users select between 2 different types of
    grouping (group by category or group by year).
    Can I programmaticall y change the grouping of a single report, based on the
    user's selection?
    Or do I have to create another report, with different grouping, and call it
    when user selects different grouping?
    Thanks,
    amber
  • Alex Korchemniy

    #2
    RE: Changing report grouping programmaticall y

    Create a "redundant" data column. Use this column for grouping. If you want
    to group by something else just put the data that you want to group by into
    this column. Works well :)


    "amber" wrote:
    [color=blue]
    > Hello,
    > I have a report in VB.NET/Crystal Reports.
    > I have a criteria form that users select between 2 different types of
    > grouping (group by category or group by year).
    > Can I programmaticall y change the grouping of a single report, based on the
    > user's selection?
    > Or do I have to create another report, with different grouping, and call it
    > when user selects different grouping?
    > Thanks,
    > amber[/color]

    Comment

    Working...