|
-
Jun 15th, 2005, 01:00 PM
#1
Thread Starter
New Member
Access Change Case to Title help
Prob being really thick, but, does is there a way to change access case to Title.
I conduct a mailmerge from selected records but as usual, all different people input to the database therefore caps, lower case etc used. Looks crap without manual intervention at present so looking to control.
Last edited by fishyface; Jun 16th, 2005 at 11:56 AM.
Reason: resolved
-
Jun 15th, 2005, 04:00 PM
#2
Frenzied Member
Re: Access Change Case to Title help
 Originally Posted by fishyface
Prob being really thick, but, does is there a way to change access case to Title.
I conduct a mailmerge from selected records but as usual, all different people input to the database therefore caps, lower case etc used. Looks crap without manual intervention at present so looking to control.

If I understand you correctly, use this function on the first and last names:
VB Code:
'This will uppercase the first letter of a word and lowercase the rest
Private Function CapitalizeFirst(strName as String) As String
If strName = "" Then
Msgbox "Invalid name"
Exit Function
End If
strName = Left(UCase(strName), 1) & Right(LCase(strname), Len(strName) - 1)
CapitalizeFirst = strName
End Function
Tengo mas preguntas que contestas
-
Jun 15th, 2005, 07:42 PM
#3
Re: Access Change Case to Title help
try
myname = format(myname, vbPropercase)
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|