Results 1 to 5 of 5

Thread: infinite recordset?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908

    infinite recordset?

    can recordset be used as many as possiblewithin a conn to refine the display of data?

  2. #2
    Fanatic Member
    Join Date
    Sep 2000
    Location
    Over There
    Posts
    522
    I'll be the first to say

    Whhhaaaaaaa???

    please restate the question.
    It Never Fails. Everytime I try to make a program idiot proof, the world makes a better idiot.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    i got an example :


    First have 2 Label controls one with Index as 0.

    Private sub Btn_Click()
    rs1=select distinct(col 1) from table
    do until rs1.eof
    rs2=select (col 2) from table where (col 1) = rs1(0)
    --clear all arrays of label2
    if Not rs2.eof then
    intLoad=Label2.ubound
    load label2(ubound) and set the visible=true and top=(value)
    label1.caption=rs1(col 1)
    label2(ubound).caption=rs2(col 2)
    end if
    rs2.close
    rs1.movenext
    loop
    rs1.close
    End Sub


    which i dunn really understand....clearly..and if the table is taken from a join tables ie rs1,rs2,rs3..is it ok?if you understand the 'code' pls elaborste thanks

  4. #4
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629
    I explained what was intended with that code in your other thread... you shouldn' create so many threads if they are related anyway... its difficult to keep track of the topics that come up during discussion of the original topic.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    sorrie....cuz i dun really understand the code well..and desperately want to achieve the goal....(my boss is pushing me...

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