Are those fields in the database fixed length? If yes, it'll be just a straight forward process by adding all fields together.
However, if they're not. You need to decide what's the length in each field from the database.
Afterwards, adding spaces to each fields in order to make the length equal to the length that you set. You can use length function and to decide how many spaces are required.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.