Hello all,
Here are my complications. I need to create a number of Reports that output to text files. So far so good using VB to specify the output type (except for that blank space every other line problem). Now, I need for each field to start at a specific position on each line. I also need to maintain blank spaces.
ie.:
First field is 20 characters (bytes) long, starting at position 1
Second field is 180 (bytes) characters long, starting at position 21
Problem #1: Is there an easier way than trial and error to get exactly the field length that I need? More to the point, to get each field to start at the correct position...
Problem #2: How do I force blank spaces? Right now, if my 180 byte field only has 40 characters in it, it carriage returns right there. How do I force the blank spaces till the end of the line?
Thank you!
Here are my complications. I need to create a number of Reports that output to text files. So far so good using VB to specify the output type (except for that blank space every other line problem). Now, I need for each field to start at a specific position on each line. I also need to maintain blank spaces.
ie.:
First field is 20 characters (bytes) long, starting at position 1
Second field is 180 (bytes) characters long, starting at position 21
Problem #1: Is there an easier way than trial and error to get exactly the field length that I need? More to the point, to get each field to start at the correct position...
Problem #2: How do I force blank spaces? Right now, if my 180 byte field only has 40 characters in it, it carriage returns right there. How do I force the blank spaces till the end of the line?
Thank you!