-
3
- #1
Just wanted to start a thread helping the new users out their
The best piece of code i ever learnt was the loop thru of controls on a form if only i had know it 6 databases ago....I use this so much and has been the best peice of code for me
EG
For Each ctl In (MyformName).Controls
If TypeOf ctl Is TextBox Or TypeOf ctl Is ListBox Then
With ctl
.Value = Null
End With
End If
Next
The best piece of code i ever learnt was the loop thru of controls on a form if only i had know it 6 databases ago....I use this so much and has been the best peice of code for me
EG
For Each ctl In (MyformName).Controls
If TypeOf ctl Is TextBox Or TypeOf ctl Is ListBox Then
With ctl
.Value = Null
End With
End If
Next