Lading & Trailing spaces from ODBC table

D

davespace

I import a couple of tables from a proprietary database
with ODBC. Everything works fine except text fields come
over with leading or trailing spaces for those records
that are not filled. What would be the best method for
removing these spaces? TIA

David
 
R

Roger Carlson

Run an Update Query like this:

UPDATE TheTable SET TheField = Trim([TheField]);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top