Results 1 to 3 of 3

Thread: how to use more then one record set in a data report.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Posts
    116

    how to use more then one record set in a data report.

    I am using Datareport of vb and geting value through this code.

    dim rs as new ADODB.recordset
    rs.open "select * from table",con
    set Datareport1.datasource=rs
    datareport1.show

    its work well

    Now I want to use one more reocrd set for sum up some data as well what I have to do for this.

  2. #2
    Lively Member rush_shri's Avatar
    Join Date
    Dec 2005
    Location
    Pune,India
    Posts
    78

    Re: how to use more then one record set in a data report.

    instead of using it a code what u can do add dataenvironment1 in ur project then make the connection1 connected through ur database. then add one command go to it's properties. then connect it to connection1. then instead of taking a table go for the SQL Builder which will help u to make more than 1 table in ur builder and u can choose ur fields.
    U KNOW U R INTERNET JUNKIE WHEN U CHAT WITH UR FINGERS NOT FROM MOUTH.

    U KNOW U R INTERNET JUNKIE WHEN UR SPOUSE E-MAIL U 2 CALL U 4 DINNER

    U KNOW U R INTERNET JUNKIE WHEN UR ADDRESS BEGINS WITH http:

    U KNOW U R INTERNET JUNKIE WHEN THE PROGRAM TOLD 2 U HAPPENS 2 B TV PROGRAM.

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: how to use more then one record set in a data report.

    There is the RptFunction control in DataReport which could do some of the most common summarizing functions like Sum...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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