CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2002
    Location
    Kuwait
    Posts
    44

    Help - Groups in report

    I have made a dynamic report with only a detail section. It works fine. I want to enhance this report by grouping the records by month / branch and adding subtotals for each group.
    To begin I inserted a group in the report. When I set the group to "month" dynamically at run time, I get the error message "Report sections does not match data source".
    I am enclosing the source code in two parts . I am sending the database separately and the size is big. Can anyone help me.

    Regards,
    Satish
    satishbeh@yahoo.com
    Attached Files Attached Files
    • File Type: zip 1.zip (2.0 KB, 58 views)
    Last edited by satishbeh; July 19th, 2004 at 02:07 PM.

  2. #2
    Join Date
    Jun 2002
    Location
    Kuwait
    Posts
    44

    Help - Groups in Report (Database)

    This is in reference to my earlier question. I am enclosing the database

    Regards
    Satish
    satishbeh@yahoo.com

  3. #3
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104
    that would be what the REPLY button is for..


    ps; so where is it? (dont reply here.. reply to the original thread, or EDIT the post)

    this thread has been reported (requested deletion)
    Last edited by Cimperiali; July 20th, 2004 at 06:06 AM.
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

  4. #4
    Join Date
    Jun 2002
    Location
    Clane, Ireland
    Posts
    766
    As far as I know, you have to use the Shape command to create groups in a data report. There have been postings here before about the use of the shape command, alternativly you may get help on the Microsoft site.

    HTH
    JP

    Please remember to rate all postings.

  5. #5
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Thread merged

    Cimperiali: thread merged

    Thanks for signaling it, Cjard
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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