G
Guest
I'm sure that I'm just missing a small piece of the puzzle, but I'm not able
to figure out why the following code doesn't loop thru all the data in the
subform.
Dim rs As DAO.Recordset
Set rs = Me.RecordsetClone
Do Until rs.EOF
Me!subReceiptsNotDeposited.Form!DepositControlNumber = Me!ControlNumber
rs.MoveNext
Loop
What I'm trying to do is enter the control number on the main form into all
the records' corresponding fields on the subform. It does work for the first
record only.
to figure out why the following code doesn't loop thru all the data in the
subform.
Dim rs As DAO.Recordset
Set rs = Me.RecordsetClone
Do Until rs.EOF
Me!subReceiptsNotDeposited.Form!DepositControlNumber = Me!ControlNumber
rs.MoveNext
Loop
What I'm trying to do is enter the control number on the main form into all
the records' corresponding fields on the subform. It does work for the first
record only.