/g This will remove all spaces from a text string. ------------------------------------------------------------------- Public Function StripSpaces(MyWholeString As String) As String Dim strTemp As String Dim X As Integer MyWholeString =3D Trim(MyWholeString) For X =3D 1 To Len(MyWholeString) If Mid$(MyWholeString, X, 1) <> " " Then strTemp =3D strTemp & Mid$(MyWholeString, X, 1) End If Next StripSpaces =3D strTemp End Function ------------------------------------------------------------------- -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Glenda Wells Sent: Tuesday, June 01, 2004 3:30 PM To: mso@xxxxxxxxxxxxx Subject: [mso] Access:Stripping Spaces & Vowels Hi All.=20 I heard something interesting at the conference I attended last week that will help me in my daily work but I can't figure out how to do it. In Access, how would one go about removing spaces and vowels from a text string?=20 Thanks. /g=20 _____ =20 << ella for Spam Control >> has removed 11133 Spam messages and set aside 0 Newsletters for me You can use it too - and it's FREE! www.ellaforspam.com=09 ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to=20 mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************