I have to create a file to be transferred into a customer's system for billing (EDI). A sample of their requirement is below, and I know where I will be pulling the data from (multiple FoxPro 6.0 DOS tables). Any suggestions how this can be done? I will have multiple records as the file will be run over a date range. I can create a form in VFP 5 to allow the user to pull the data based on an invoice date range and a customer number.
There is a total of 310 characters in the row, which many of the 'fields' I will need to stuff with spaces.
If more info is needed from me to help solve this please don't hesitate to ask! I've spent the last 4 hours searching the FAQ's and didn't find anything to help me get started except maybe using FCREATE(),FOPEN() and FWrite() functions. But I couldn't figure out how to create multiple records.
Thanks!
Requestor's sample:
1.) datatype (String) field(ACCOUNT) starting position(1) length(20)
2.) datatype(String) field(RECORD) starting position(21) length(7)
3.) datatype(datetime) field(VPPODT) starting position(28) length(8)
4.) datatype(String) field(VPISHP) starting position(36) length(4)
5.) datatype(String) field(POKEY) starting position(40) length(14)
There is a total of 310 characters in the row, which many of the 'fields' I will need to stuff with spaces.
If more info is needed from me to help solve this please don't hesitate to ask! I've spent the last 4 hours searching the FAQ's and didn't find anything to help me get started except maybe using FCREATE(),FOPEN() and FWrite() functions. But I couldn't figure out how to create multiple records.
Thanks!
Requestor's sample:
1.) datatype (String) field(ACCOUNT) starting position(1) length(20)
2.) datatype(String) field(RECORD) starting position(21) length(7)
3.) datatype(datetime) field(VPPODT) starting position(28) length(8)
4.) datatype(String) field(VPISHP) starting position(36) length(4)
5.) datatype(String) field(POKEY) starting position(40) length(14)