Paul Cooke
Registered User.
- Local time
- Today, 19:53
- Joined
- Oct 12, 2001
- Messages
- 288
Not only that but it should also be pointed out that running that code in the Lost Focus and/or Got Focus event(s) of the control is redundant and unnecessary. The OP should perform an UPDATE to the records that need converting and ONLY apply this code in the Before Update event of the control.
Also, the code assumes that ALL textboxes require the ProperCase applied to it. So the OP should be made aware of this. If you want to limit it to certain textboxes, maybe all textboxes in the Detail section, then it should be looping in that section only. If you want specific textboxes in different sections, then use the Tag property to identify the controls.
This is all really interetesting and helpful stuff ! Would mind explaining waht you have written in more basic terms as I am really new to Vb - thanks