I know you can use (and I only use!) the GetRows() method to populate a 
two-dimensional array with the contents of a recordset. What I need to do now is the 
same thing in the opposite direction. I have a function which accepts a recordset as 
an argument and does a bunch of processing on it before dumping it out to a CSV file. 
I've rewritten the code which calls this function to use an array instead of a 
recordset, bringing the execution time down to 4 minutes from 21! The logic in the 
function which accepts a recordset is a pig, and rather than rewriting it all I was 
hoping I could just dump my array into a recordset and pass that in.

I know I can loop through the array and do Recordset.AddNew() for each record, but I'm 
a little worried about the performance of such a routine, and was wondering if anyone 
knows of a function similar to GetRows() (something like ReceiveRows() for instance?) 
which'll do the job for me?

Dan
www.diado.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to