If you want to remove all spaces you can use a query. Here
is a previous post from Allen Browne
1. Create a query into this table.
2. Drag mytextfield into the grid.
In the Criteria row under this field, enter:
Is Not Null
3. Change it to an Update query: Update on Query menu.
Access adds an Update row to the grid.
4. In the Update row under mytextfield, enter:
Replace([mytextfield], " ", "")
Run the query. All spaces are now replaced with no
character, so there is noneed to save the query.
Or
If you want to remove the spaces at the end or begining you
can use the Trim and LTrim function
Jim