PeterDuthie
Programmer
I'm new to access programming so please forgive me if this is a stupid question.
I have a form with some fields which do some capitalizing on exit - e.g.
Private Sub Address_1_Exit(Cancel As Integer)
If Not gCapitalize Then Exit Sub
Me![Address 1].Value = StrConv(Me![Address 1].Value, vbProperCase)
End Sub
When the user tries to navigate to another record when the focus is on one of these fields the form sticks on the current record.
I've tried putting the code into various events but none work. Looks like I've missed something simple but i don't know what it is - any help much appreciated
Cheers,
Peter
I have a form with some fields which do some capitalizing on exit - e.g.
Private Sub Address_1_Exit(Cancel As Integer)
If Not gCapitalize Then Exit Sub
Me![Address 1].Value = StrConv(Me![Address 1].Value, vbProperCase)
End Sub
When the user tries to navigate to another record when the focus is on one of these fields the form sticks on the current record.
I've tried putting the code into various events but none work. Looks like I've missed something simple but i don't know what it is - any help much appreciated
Cheers,
Peter