Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding ASCII characters to output
Message
 
To
15/01/2001 19:13:35
Garry Sankowsky
Zodiac Publications
Tolga, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00464007
Message ID:
00464029
Views:
17
>I am trying to create an ascii file from a database for exporting to a Bank as a direct payment.
>
>For our previous bank it was simple, I used ? to output various fields, separated by commas.
>
>With our new bank it is a bit more complicated. The file starts with a 'Descriptive record' which is the first
>line. At byte 121 it needs a carriage return and byte 122 a line feed. How do I tag these onto the end of the line?
>At the moment the line looks like this-
>01NAB YURUGA NURSERY 189989PAYMENT DATA120101 0
>Carriage return needs to go in where the last 0 is.

The ? will output a carriage return and a line feed before outputting anything. If you just put a ? in your code after you output the last 0, you'll have a carriage return/line feed at the end of the file.
Previous
Reply
Map
View

Click here to load this message in the networking platform