F
Fred
I have the following Loop.
The [Test] is a field with numbers in the field
1 to 20.
The txtTest are fields on a form
txtTest1, txtTest2, txtTest3 upto txtTest20.
The "Y" is just text. I am just using y in place
of information I can't post.
The problem I have is I get a dbug that points to
the txtTesti = "Y" line.
I don't know from here what to do.
Private Sub Counter_Click()
Dim i As Integer
Dim tot As Integer
For i = 1 To [Test]
txtTesti = "Y"
Next i
Me.txtTotal = tot
End Sub
The [Test] is a field with numbers in the field
1 to 20.
The txtTest are fields on a form
txtTest1, txtTest2, txtTest3 upto txtTest20.
The "Y" is just text. I am just using y in place
of information I can't post.
The problem I have is I get a dbug that points to
the txtTesti = "Y" line.
I don't know from here what to do.
Private Sub Counter_Click()
Dim i As Integer
Dim tot As Integer
For i = 1 To [Test]
txtTesti = "Y"
Next i
Me.txtTotal = tot
End Sub