sub5
Programmer
- Oct 12, 2005
- 104
Hi all,
For an access97 dbase, I am trying to replace the temporary tables with multidimentional arrays.
I can create an array OK, but how do I replace the temporary table (tbl2) in this SQL with the array?
Set rst = CurrentDb.OpenRecordset("SELECT DISTINCTROW tbl1.Fld1, tbl2.fld2 FROM (tbl2 LEFT JOIN tbl3 ON tbl2.fld2 = tbl3.fld2) LEFT JOIN tbl1 ON tbl2.fld2 = tbl1.fld2 WHERE (((tbl3.fld2) Is Null));")
For an access97 dbase, I am trying to replace the temporary tables with multidimentional arrays.
I can create an array OK, but how do I replace the temporary table (tbl2) in this SQL with the array?
Set rst = CurrentDb.OpenRecordset("SELECT DISTINCTROW tbl1.Fld1, tbl2.fld2 FROM (tbl2 LEFT JOIN tbl3 ON tbl2.fld2 = tbl3.fld2) LEFT JOIN tbl1 ON tbl2.fld2 = tbl1.fld2 WHERE (((tbl3.fld2) Is Null));")