Results 1 to 4 of 4

Thread: Mass Load Data

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    21

    Mass Load Data

    Hi, the problem im having is i have a multitude of tables with many collums but at the minute im using collections to temp store the data whilst the section of the application is loaded but for my first table there are like 8 columns alone and its a bit unpractical to have 8 different collections for each column.

    Also i have to tried multi dimensional arrays but with no success as i cant sucessfully re-dim the array with the count of records stored in the Recordset from the sql query.

    Any help would be appreciated

    Devon

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Mass Load Data

    why are you storing each col in it's own collection? Use the recordset... that's what it is for...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    21

    Re: Mass Load Data

    What, just keep all the information on the Recordset without having to store it any other kind of vaar ?

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Mass Load Data

    yup. the recordset IS your var.... typically that's how it's done, create a recordset, fill it, then edit it .... you don't need to offload it to anything else... keeps all your rows together and in synch.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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