Don,
You can put a call to a udf in the ON ENTRY:
MyOnEntryUDF()
The UDF could log the current recno()/pk value along with the current _pageno value into your index cursor. Just make sure you restore workareas if you muck around with them in the udf.
>I have a report that produces one or more pages per record. I'd like to create an index for this report. In order to do this I need to capture the page number that each record begins on. Is there a way to do this?
>
>I've thought about sending the _pageno into a separate cursor but haven't found a good way to do this. Also, I've never been able to figure out a purpose for the ON ENTRY and ON EXIT dialogs that are available for each band. Every expression I've ever tried to put in those returns an error. Can someone enlighten me as to the purpose and proper usage of those features?