The following code is part of a button (on click) that places a check (true) in a filtered subform. The subform is a set of continuous forms. The checks are placed but it gives an error message that it can’t go to the next record. When I try to step through it, a check is placed in the first record but errors out before it starts to loop?
Code:
x = Me.Text6
Screen.PreviousControl.SetFocus
DoCmd.GoToRecord , , acFirst
Do While x > 1
Me.Check48 = True
DoCmd.GoToRecord , , acNext
x = x - 1
Loop
Comment