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
Infopath SQL Server Concatenate multiple row values into one string
Replace part of ntext field SQL
Windows 2008 Licensing question...
Excel Printing in Landscape instead of Portrait
SSIS Ftp Connection Manager
I need to run multi-instances of my WinForms app. Any issues?
Error - Excel could not save all the data and formatting you recently added to myfile.xla ...
Troubleshooting MS Update problem - related to KB970892 it seems
How do I open .jpg files with VBA code using wildcards
Query by time range not date. ie 7:00a - 2:59a