I am trying to create a report that mimics a service bureaus data input form. I am using VFP V7 DBF tables FRMAST and FRTRAN. the tables are related via INVNO field.
The FRMAST file looks like this:
INVNO invoice number
CUSTNO customer number
TRANSDATE transaction date
TOTAMT total amount
REVCODE revenue code
The FRTRAN file is like this:
INVNO invoice number
PRODUCT product
REVCODE revenue code
TOTAMT total amount
TRASDATE transaction date
The FRMAST is the parent and the FRTRAN is the child.
The service bureau wants a single record per invoice with the line items attached at the end of the record. My problem is I have no way of placing the line items next to the invoice, I have them beneath the invoice. The problem is when the bureau reads the record it rejects the batch becoz of duplicate invoices.
I thought I left flat files behind but alas!
Can anyone give me a hand. As usual I am working against the clock.
thanx,
stan
The FRMAST file looks like this:
INVNO invoice number
CUSTNO customer number
TRANSDATE transaction date
TOTAMT total amount
REVCODE revenue code
The FRTRAN file is like this:
INVNO invoice number
PRODUCT product
REVCODE revenue code
TOTAMT total amount
TRASDATE transaction date
The FRMAST is the parent and the FRTRAN is the child.
The service bureau wants a single record per invoice with the line items attached at the end of the record. My problem is I have no way of placing the line items next to the invoice, I have them beneath the invoice. The problem is when the bureau reads the record it rejects the batch becoz of duplicate invoices.
I thought I left flat files behind but alas!
Can anyone give me a hand. As usual I am working against the clock.
thanx,
stan