reporting and winsock in vb6

Discussion in 'Programming' started by cris02, Mar 1, 2007.

  1. #1
    hello,
    I want to make a report using datareport but the data is coming from the server, Let say i have this:

    on the server:
    
    Rs.Open "Select * from Table1 Where Year like '2007'", strConnect, adOpenKeyset, adLockOptimistic
    Do While Rs.EOF = False
       subDelay 0.5 'this is the module that delay the data transfer to client or sleep command
       winsock1.senddata "!" & rs.fields("data1") & "!" & rs.fields("data2") & "!" & rs.fields("data")  'and etc. etc..
    Rs.Movenext
    Loop
    
    Code (markup):
    client gets the data by spliting the "!" on the data. my problem is how can i display the data into datareport and print it? Do you have any idea doing this?I hope you will help me. thanks in advance.
     
    cris02, Mar 1, 2007 IP