I have coded it as such. IDsArray() is an array of integers.
Expand|Select|Wrap|Line Numbers
- ArrayLength=15
- sqlGetiIDs = "SELECT * FROM Table1 WHERE (dID = " & IDsArray(j) & ")"
- j=0
- Dim GetiIDsRSArray(ArrayLength)
- do
- set GetiIDsRSArray(j) = conn.execute(sqlGetiIDs)
- j=j+1
- loop until j=ArrayLength
Second, this seems extremely awkward to create this array of recordsets. Can anyone suggest a better methodology? I would rather have it saved into one large recordset.
Many Thanks.