Microsoft
Software
Hardware
Network
Question : recordset to array
I have a routine that inserts some data into a powerpoint and it uses an array to step throught the data.
I'm thinking of making it a bit more generic by allowing other code to call it and either pass an arrary or recordset with the data.
Can I pass a recordset and are there any pros/cons of passing a recordset vs an array?
Also, is there an easy way to put the recordset into an array or do you just have to loop through all the records?
thanks
Answer : recordset to array
look at the getRows Method in the VBA help
Random Solutions
"Insert" query in VBA not working with SQL Server
My Last Access 97 Back End Upgrade - Slight Problem
Infopath: Display various information in one box
Link SQL Table using DSN or DSNless
How do I fix Microsoft Exchange 2007 "Active Directory server <myserver> is not available" error on Windows Server 2003?
Testing Outlook Anywhere
ASP.NET-created Excel files don't work properly in IE 8
Unable to log a Guid Type into SQL Using log4net AdoNetAppender
getting file versions
Read vertical data