Hi Gerard,
Sorry it took me so long to get back with you. I've been out of the office because of a sick child.
I don't know why your VFP 7 report isn't working in VFP 8. I don't know of any change that would explain it. All I can do is offer a suggestion of how to print the totals on the last page of each invoice.
- I'm assuming you have a data group on InvoiceNumber
- Create a report variable called rlEndOfInvoice, set the value to .f.
- In the OnExit expression of the InvoiceNumber Data Group Footer, use the following: _VFP.SetVar('rlEndOfInvoice', .t.)
- In the print when logic of the total stuff in the page footer use the following to print: rlEndOfInvoice
I hope this helps.