>>>I dislike report variables, they are calculated over and over in a very slow way. On 80 this is extra a problem since the report is run over and over while navigating in preiew.
>>>If ever I see a chance I do it offline to the report. Sometimes I use SET RELATION, sometimes I do huge cursors with all the data. Depends mostly if there is a additional export of those data.
>>
>>For this particular problem we can only manipulate the report itself. In our application we allow clients to define their report layouts. There are certain functions they can use in the report, I think. May be that trick can be achieved with some pre-defined function.
>
>Do you have control about the place where REPORT FORM is called? You might run your code there.
>
No.
>Anyway BeforOpenTables of a report should work. Don't miss to select your base cursor in the end of it.
>
Yes, I was thinking about it.
>Afterclosetables to clean up and tha'ts it.
If it's not broken, fix it until it is.
My Blog