George Too
Registered User.
- Local time
- Today, 10:58
- Joined
- Aug 12, 2002
- Messages
- 198
Hi all,
The code below works some times but not others. Is there anything wrong with the sintax?
For Each control In subfrmRepeats.Controls
If control.ControlType = acTextBox Then
Num = control.OldValue
Smallest = Num
If Num < Smallest Then
Smallest = Num
End If
End If
Next control
My numbers are small decimals (12.9508; 11.2500, etc)
Thanks for your input,
George
The code below works some times but not others. Is there anything wrong with the sintax?
For Each control In subfrmRepeats.Controls
If control.ControlType = acTextBox Then
Num = control.OldValue
Smallest = Num
If Num < Smallest Then
Smallest = Num
End If
End If
Next control
My numbers are small decimals (12.9508; 11.2500, etc)
Thanks for your input,
George