"Graham Feeley" <gr***********@optusnet.com.auwrote in message
news:45**********************@news.optusnet.com.au ...
Hi I have a text field called FName.
Records looks like this
8 Kingston
10 Wilston
I would like to delete all from the left including the space
Result
Kingston
Wilston
Any help would be appreciated
Graham
Paste this into a module:
Public Function libTrim(str As String) As String
Dim intStart As Integer
intStart = InStr(str, " ")
libTrim = Right(str, Len(str) - intStart)
End Function
Call it from a query based on your table:
Expr1: libTrim([FName])
HTH - Keith.
www.keithwilby.com