>Thanks for your help. But when I move between report's pages, how can I display report's page number on print preview caption windows.
Create a UDF that has the following code:
MODIFY WINDOW MyRep TITLE "My Report - Page " + TRANSFORM(_PAGENO)
In the OnEntry Expression of the Page Header, place the following expression:
MyUDF()
This will force the report writer to call your UDF at the beginning of each page and the UDF will change the title of the preview window.
Cathy