Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function RemoveSpaces()
Dim db As Database
Dim rst As Recordset
Dim stringin As String
Dim pos As Integer
Set db = CurrentDb
Set rst = db.OpenRecordset("select * from RemoveSpaces")
rst.MoveFirst
Do While Not rst.EOF
rst.Edit
stringin = rst!string1
Do While InStr(1, stringin, " ")
pos = InStr(1, stringin, " ")
stringin = Left(stringin, pos - 1) & " " & Mid(stringin, pos + 2)
Loop
rst!string2 = stringin
rst.Update
rst.MoveNext
Loop
End Function