Question:
I am accessing a database that has two fields that I need to combine. The problem is that the first field is set to hold eight characters. If the data is less than eight characters, extra spaces are added to make eight. Is there some way of pulling in the data and cutting off the spaces?
Answer:
I’m not exactly sure of your situation from your question. However, I suggest you look at the LTRIM or RTRIM functions. TLTRIM trims leading blanks, while RTRIM does the same for trailing ones.