JanetStackpole
Programmer
Hello,
I am using CR 9 with MS SQL. I am writing a report that creates a flat file to be uploaded for billing. I have created the individual record strings, but am having trouble with the header line. In this line I need to include the total file dollar amount and the total number of individual records. I cannot figure out how to do this since the report header appears before the individual records. I have tried using shared variables with no success. Any suggestions would be greatly apprecieated.
Here is an example layout
Report Header
000DASGSD01TOTAL_DOLLAR_AMOUNT00TOTAL_NUMBER_OF_RECORDS
DETAIL SECTION
001DAS01RECORD_NUMBER00LINE_ITEM00DOLLAR_AMOUNT
001DAS01RECORD_NUMBER00LINE_ITEM00DOLLAR_AMOUNT
I am using CR 9 with MS SQL. I am writing a report that creates a flat file to be uploaded for billing. I have created the individual record strings, but am having trouble with the header line. In this line I need to include the total file dollar amount and the total number of individual records. I cannot figure out how to do this since the report header appears before the individual records. I have tried using shared variables with no success. Any suggestions would be greatly apprecieated.
Here is an example layout
Report Header
000DASGSD01TOTAL_DOLLAR_AMOUNT00TOTAL_NUMBER_OF_RECORDS
DETAIL SECTION
001DAS01RECORD_NUMBER00LINE_ITEM00DOLLAR_AMOUNT
001DAS01RECORD_NUMBER00LINE_ITEM00DOLLAR_AMOUNT