建立一个数据环境,并和datareport关连,就可以做出分层报表了。
请查看MSDN中的说明

解决方案 »

  1.   

    在DATAREPORT里指定数据源就可以了
      

  2.   

    MSDN里有详细的帮助!
    如果你不想作成非常复杂的报表,可以用数据绑定!
      

  3.   

    用Active Report做吧,应该能够实现!
      

  4.   

    一定要用DataReport做报表吗,可以试一下Crystal Reports
      

  5.   

    The more "realistic" way is Get the Data to a closed Recordset N
    return the it to the Client, then manage the data with the 
    DataReport. It solve many problems which will occured when ur 
    server is miles away.
    Inside DataReport, It have Sections: PageHeader, PageFooter, Detail
    ReportHeaders, ReportFooter, GroupHeader N GroupFooters. Place
    the require ForcePageBreak/KeepTogether/Height/Visible/CanGrow/
    Alignment/Caption... according to the idea which you want your
    report like. It will be much better if you know more about the
    design and structure of Database.
    This is a problem of how much you know about your tools which is
    inside your computer, and the way of thinking (or we can call it
    the imagination). These two factors built you up to be a man which
    write codes.
      

  6.   

    to simon__li(simon) :
       你好,能不能用汉语呀,英语我读起来有点费劲,理解得不是那么透彻,你想对表达什么意思?你是不是说只要对Datareport有足够的了解,就能够做出来?可我差的就是这呀,所以才请高手帮忙,能不能再详细说说怎么做呀?
      

  7.   

    就会粘贴复制。没猜错的话应该是MSDN上的吧!
      

  8.   

    如果用datareport实现不了的话,大家帮忙想怎么才能实现上面我所说的那种形式的报表,有什么好用的控件?不过,只能是免费的控件,我在为学校做个程序,我可不想自己掏腰包买控件,我哪有钱,穷学生呀。
      

  9.   

    popety_bit:I have my problem to write in Chinese. My Pc is in Traditional
    Chinese, N I am not familiar with Simplified Chinese. I have to 
    know the input method (in simplified) an I do not have time 
    in this subject. If you are the man of write code you will know
    how much time left for some minor problem. Also my writing pad
    is imcompatible with my pc. 
    So I write in other language,otherwise I will have to find one of my staff to show in Chinese. As we Chinese have to face with the 
    WTO (as the South Korean which they experienced years N now they 
    have their present preferred better situation).
    So, try to familiar and accept the difference of others, especially
    in front of the Internet. This is the "realistic" as I told
    my staffs, sooner or later you will have to communicate with
    person of different nationality and tradition. Try to get well
    along with other, this is the only way.Is refer to the datareport subject, try to understand my previous 
    topic step by step. You need to understand your tools, and also 
    what you want to do. Otherwise, please be patient and step by
    step. The matter is whether you can work hard by concentrate your 
    mind to know everyone around you by 7x24. Bye.Simon
    200208051241
      

  10.   

    to simon__li(simon) :
        呵呵,不知道你那里不能用中文,那你就用英语吧,其实像你写给我的那些话
    ,虽然慢了一点,我还是能够看懂的。你给我写了那么一大段话,教诲也好,指导也好,忠告也好,不管它是什么,我都会认真的考虑的。在此,我在次对你表示感谢!