At 03:31 PM 7/20/2005, Alexey Perminov wrote: >Can I know the total number of pages in report without printing it?
Alexey, I had this problem many years ago with old RBase DOS versions. Here is the solution I found at this time : Preset the system variable #PAGE before running the report. In Report designer, tell RBase not to clear variable after report printing. Print report to a file : variable #PAGE now contains the total number of pages. Set a new variable to save it, clear #PAGE Now you have the total number of page and you can use it and print again the report on the printer. There may be a more efficient solution on recent RBW versions ... Regards, JM GRATIAS, Logimatique
