Results 1 to 4 of 4

Thread: viewing ADO data with changing recordset

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80

    Question

    Hi,

    In applications like MSAccess, when you open a large database you can scroll through the first retrieved records while the other records are being loaded.
    This is what I would like to make in my application.

    At this moment my application:
    - divides the database in parts (using recordcount)
    - creates a new recordset
    - gets the first part of the database (recordsetX)
    - appends this records to my new recordset
    - gets the second part of the database
    - appends this records to my new recordset
    - gets the third p.......

    But how do I present this records to my user?

    (I tried to use a datagrid, that I connected to my recordset, but when I do a recordsetX.movelast also the datagrid moves to the last record.
    I don't know why because in my opinion this recordset isn't connected to my datagrid)

    all ideas welcome,

    Fedor

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    I have no idea why you'd want to go thru all this grief but you could load the data into a collection, copying from multiple recordsets...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80

    Thumbs up sorry, I don't know exactly what you mean

    Thanks, but.. I don't know exactly what you mean. Could I copy multiple recordsets into a collection and use the collection to browse the data?

    Fedor

    And is my idea really strange? I'm probably running in circles, because I can't think of another solution to present data from a large database to my user.
    (Any other ideas are welcome, I getting pretty disappointed by this one)

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    just fetch your results asynchronously

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