>Petros,
>
>- Open the report.
>- double-click on the
Title band
>- add expression
TOC("Init")) into
On Entry: field
>- double-click on the
Group Header>- add expression
TOC("From", _PAGENO, category) into
On Entry: field
>- double-click on the
Group Footer>- add expression
TOC("To", _PAGENO) into
On Exit: field
>
>That's it. This will generate a cursor with the table of contents when you run or preview your report.
>
>>TOC("Init"))
What version of VFP you are using ?
I did not know about this double click pocket on report band so I used ordinary
report field having as expression UDF that returns '' so it doesent show on
printout. This way I managed to call/do (from within UDF) whatever I wanted
while executing report...