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
cross tab sql query
RDP in Adminpak.msi for Windows Server 2003/XP: How to turn off the connect local resource option
Anyway to get href ID in code-behind?
Error when attaching database after move.
Windows 2008 Server immediately logging off Terminal Services sessions created from .msi / Windows Install Package
Export to Excel Grouping
How to enter the Product Key in MS Exchange 2010
sql server add valid owner
Proper syntax?
Extract Birthdays between now and 30 days from today