So you want to split the data on the space? You would need to do this with an array.
I would put this on the Before Insert and Before Update events of your data entry form, with these fields hidden: txtgeopostcode, txtlocpostcode, then add this code:
Dim PostArray As Variant
Dim sStart As String
Dim sGeoEnd As String
Dim sLocEnd As String
sStart = Me.txtprpostcode
PostArray = Split(sStart, " ")
sGeoEnd = PostArray(0)
sLocEnd = sGeoEnd & Left(PostArray(1), 1)
Me.txtgeopostcode = sGeoEnd
Me.txtlocpostcode = sLocEnd
Did that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com