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
RunCommand AcCmdSaveRecord
Vista stays at Welcome screen
Meeting request change delayed (4.4.7) when sending to more than one outside recipient
How to obtain the Product key
Access 2007 and PDF
BAD WEEK NUMBER IN OUTLOOK CALENDAR
DoCmd.OutputTo - runtime error 30016 the field 'id' is read only
How to automate Access Report Save process (in multiple formats)
Access control inside nested gridview
Server Monitoring via Email