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

Thread: Pls Help...

  1. #1
    Join Date
    Mar 2008
    Posts
    1

    Pls Help...

    Hi,
    I have designed crystal report using vb.net. It has two tables Orders and Customers. I have used two Group section in that report.

    Group#1 orders.ShipName
    Group#2 orders.ShipDate

    The data type of ShipDate is DateTime. But i want to show the report ShipDate Monthly wise.
    Like As Follows ,
    January
    <ShipName>
    <orderDetails>
    ;
    ;


    I am beginner to crystal report. pls help...
    Thanks in Advance...

  2. #2
    Join Date
    Mar 2008
    Posts
    7

    Re: Pls Help...

    Hi,

    Create a formula named month_custom_group and edit it with the following code.

    monthname(month(DateTime({orders.ShipDate}))).

    Now go to group expert and add group by choosing the month_custom_group formula for grouping field.

    This should be your first group.

    I think this will work.

  3. #3
    Join Date
    May 2006
    Posts
    324

    Re: Pls Help...

    Or just choose the group's options (group expert, highlight the shipdate group, press the Options button) and change the 'This section will be printed:' to 'for each month'

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