>>>>Yes, I was thinking about it.
>>>
>>>Thinking will not help. It needs coding.
>>
>>We don't have access to Report's events from within VFP when we modify the report. My idea also produced an error 'File is in use'.
>>
>>But luckily for this report we just placed the information in the Group Footer and therefore all worked.
>
>??
>If you modify the frx , you have access to anything. (I mean via code not via designer)
>You can open the frx with USE, and alter the fields. I do not know the fieldnames without searching, but you can REPLACE the code as well as the binary fields. Possibly from a template hidden into your program.
>Duplicate the frx, alter the duplicate, run the duplicate, delete it.
You don't understand. The creating Report Layouts is a feature of our application. From VFP application we allow people to create their layouts using MODIFY REPORT in run-time. Certain things are not available in run-time for that.
We need to be able to achieve the goal using MODIFY REPORT in run-time from the application.
As I said, for this particular report we were lucky of being able to put the info in Group Footer.
If it's not broken, fix it until it is.
My Blog