I stole the following code some time ago, and wonder is there a code that would capitalise the first letter of every word?Function CapitalizeFirst(Str)<br>
<br>
<br>
' Make first letter in field uppercase; leave other<br>
' letters as typed.<br>
Dim strTemp As String<br>
strTemp = Trim(Str)<br>
CapitalizeFirst = UCase(Left(strTemp, 1)) & Mid(strTemp, 2)<br>
<br>
End Function<br>
<br>
<br>
<br>
Private Sub Pals_AfterUpdate()<br>
<br>
' Capitalize first letter in Pals.<br>
<br>
If Not (IsNull(Me!Pals)) Then<br>
Me!Pals = CapitalizeFirst((Me!Pals))<br>
End If<br>
<br>
End Sub<br>
<br>
<br>
I would be thankful for any help.<br>
<br>
<br>
<br>
<br>
' Make first letter in field uppercase; leave other<br>
' letters as typed.<br>
Dim strTemp As String<br>
strTemp = Trim(Str)<br>
CapitalizeFirst = UCase(Left(strTemp, 1)) & Mid(strTemp, 2)<br>
<br>
End Function<br>
<br>
<br>
<br>
Private Sub Pals_AfterUpdate()<br>
<br>
' Capitalize first letter in Pals.<br>
<br>
If Not (IsNull(Me!Pals)) Then<br>
Me!Pals = CapitalizeFirst((Me!Pals))<br>
End If<br>
<br>
End Sub<br>
<br>
<br>
I would be thankful for any help.<br>
<br>
<br>