Records in database table do not have inherent order. Order is defined by data in sorting criteria. What data would you use to define table 1 record order? Is there an autonumber field that could be relied on? Do you really care what order table 1 records are populated with PersonID?
I expect this will need VBA manipulating recordset objects.
"And obviously, if table contains 4 records, it has to be 1-2-3-4-1-2-3-4-1-2-3... etc"
Do you mean if table 2 has 4 records you want the sequence in table 1 to repeat every 4 records?
Provide sample data either as tables in post or attach file.
Here is one code example:
Code:
Dim rs1 As ADODB.Recordset, rs2 As DAO.Recordset
Set rs1 = New ADODB.Recordset
rs1.Open "SELECT PersonID FROM table1", CurrentProject.Connection, adOpenDynamic, adLockOptimistic
Set rs2 = CurrentDb.OpenRecordset("SELECT PersonID FROM table2")
Do While Not rs1.EOF
rs1("PersonID") = rs2("PersonID")
rs1.Update
rs1.MoveNext
rs2.MoveNext
If rs2.EOF Then rs2.MoveFirst
Loop