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
Error when attaching database after move.
Change fore color and back color of item in check list Box
Find and open a PDF file with Access 2009
i copied the mddata file from 1 exchange server to another, mounted the mailbox file, but can't see my mail
referring to a form instance in front-end database
Toolbars and menu bar not visable after restore
Write Confilcts on Unbound Form using DAO Recordset
Started getting BSODs - nvatabus.sys ?
Getting a First Chance Exception when trying to add a record to access with VB.NET
Problem with Sort in Dataview