CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    1

    Grouping Question

    I have a client that wants to have their group act like this;
    Company Number is group field.
    Have company 160 and 162 in one group together and ALL other company numbers in other groups.
    Can ths be done in Crystal XI Enterprise ED?

  2. #2
    Join Date
    Jul 2005
    Posts
    1,083

    Re: Grouping Question

    You could create a new formula field and make group with it
    The formula text could be like
    Code:
    If {Table1.CompanyNumber}=160 or {Table1.CompanyNumber}=162 then 160 else {Table1.CompanyNumber}

  3. #3
    Join Date
    Apr 2008
    Posts
    7

    Re: Grouping Question

    I would do something similar to jggtz but give them names:

    If {Table1.CompanyNumber} in [160,162] then 'CreateName1' else 'CreateName2'

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured