>>>>I use FOXPRO 2.0 under MS-DOS:
>>>>
>>>>I do a invoice report with header (client information) and footer section (Sub-total, Tax and Total) and i will like to print these on each page but already the footer information are calculate for each page, but i just want the information is printed out at the end of report. I try to put in a summary section but i can't formating my page for having the look of a invoice. I can just put at the end or on a new page.
>>>>
>>>>Thank! :)
>>>
>>>I'm not sure about FP 2.0-DOS reports, but can you put the information in a group footer where the group is divided on Invoice #s? This way the information would be printed at the end of each invoice, and you could place it directly under the detail information.
>>>
>>>Barbara
>>
>>I try to put a IIF(EOF(4), Calcul, ' ') in the expr for all the information inside the footer information, but i think the EOF() do not work in a report execution time, you know a command that tell me that the end of report or no more data available, or something like that.
>
>Yes, the report summary band is printed when there are no more records to be printed (but the dbf is not on eof, but on the last record).
>
>Vlad
If I remember correctly, there is actually the equivalent of a "virtual" record beyond the actual record count of a file that the file pointer rests on when EOF() is effectively encountered but before the function EOF() is actually registering as .T. at this point in relation to printing data out from the file into a report form. So as I recall (my memory my not be exact here) I have had some success using the expression 'IIF(RECNO()>=RECCO(),"etc","etc")' to trigger printout of appropriate summary data at the end of a report as well as in certain other functional areas when a similar comparison has been used for such as in recognizing when to print certain types of sub-group totals. HTH. /psb.