I can't tell you the code to write exactly, but the problem is that your current code has nested loops to get the data from the 2 tables:
Code:
Do while NOT rs1.EOF
Do while NOT rs2.EOF
rs2.MoveNext()
Loop
rs1.MoveNext()
Loop
So for every record returned by rs1 you are displaying all rows from rs2.
Instead you need to use a single loop and fetch 1 row from each until you run out of rows from both. I don't know the correct
VB syntax for this, but something like:
Code:
DO while (NOT rs1.EOF OR NOT rs2.EOF)
If NOT rs1.EOF then
rs1.MoveNext
(Display rs1 record)
End If
If NOT rs2.EOF then
rs2.MoveNext
(Display rs2 record)
End If
Loop