1. OUTPUT filename
2. Compose string for file header
3. WRITE file header string
4. Program to loop through the transactions, composing the header and detail
lines, WRITEing them as they are composed.
5. OUTPUT SCREEN

Regards,

Stephen Markson
ForenSys The Forensic Systems Group
www.ForenSys.ca
416 482 2140

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: May 9, 2005 4:58 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Fixed field files
> 
> Heya,
> 
> We are currently trying to export some of our data into a format another
company
> will use.
> 
> They gave us some format specifications that look somewhat like this:
> 
> A file header consisting of:
> FileDate [text 10]
> BusinessCode [text 5]
> Filler [text 80] (blank spaces)
> 
> A header line for each transaction consisting of:
> Date [text 10]
> VendorNo [text 5]
> TotalAmount [text 10 (right aligned)]
> 
> then under that, a line of the follolwing format for each line of the
transaction:
> Description [text 300]
> LineTotal [text 10 (right aligned)]
> TaxAmount [text 10 (right aligned)]
> 
> Anyone have a way to output some data in a way like this?
> 
> Thanks!
> Alan

Reply via email to