Hi, Can anyone help me on the snytax to pass in a string element of an array to openrecordset. This is a segement of what I have so far.
......(1) to (22) here
arrTables(22) = "48MonthsFollowUp"
For i = 1 To 22
Set rs = db.OpenRecordset(arrTables(i), dbOpenDynaset)
next i
......(1) to (22) here
arrTables(22) = "48MonthsFollowUp"
For i = 1 To 22
Set rs = db.OpenRecordset(arrTables(i), dbOpenDynaset)
next i