Treason
#@$%#!
- Local time
- Today, 00:04
- Joined
- Mar 12, 2002
- Messages
- 340
I have a query that I am exporting to a Fixed Width txt file so I can upload it into another application. The problem is the application I am uploading to does not allow spaces in between fixed width columns, instead they want to use an "&". So I am looking to change the spaces in between the fields to another character, "&" for example, if this was the exported txt file...
JOHN DOE 1234
JANET DOE 5678
JAMES RIELLY 9012
I need it to change the spaces in between the fields into "&" like this:
JOHN DOE&&&&&1234
JANET DOE&&&&5678
JAMES RIELLY&9012
In this example the default width of the name field is 13 characters. So if a name only takes up 10 characters then fill &&& at the end of the field. I hope I am asking this correctly
JOHN DOE 1234
JANET DOE 5678
JAMES RIELLY 9012
I need it to change the spaces in between the fields into "&" like this:
JOHN DOE&&&&&1234
JANET DOE&&&&5678
JAMES RIELLY&9012
In this example the default width of the name field is 13 characters. So if a name only takes up 10 characters then fill &&& at the end of the field. I hope I am asking this correctly