I have 21 fields in a form named thick0 through thick120. The field name stays the same but goes up by six on the number up to 120. Below is the code I wrote for thick0 & thick120 on an after update event and everything works. I could write the same code for every field but is there a way to tell it to loop through every field doing the same?
Thank you for the help,
Isaac
Dim Mil As Double
If Me.Thick0 < 1 Then
Mil = Me.Thick0
Mil = Mil * 1000
Me.Thick0 = Mil
Else
End If
Dim Mil As Double
If Me.Thick120 < 1 Then
Mil = Me.Thick120
Mil = Mil * 1000
Me.Thick120 = Mil
Else
End If