I've used this technique to capture the 'x of y' page number, but one little thing nags me. When I run the report form the windows 'Printing page...' message box pops up for printing to the file as well as to the printer. Is there any way to prevent that from occuring? It's trivial but I hate to have my application looking like a light show, if you know what I mean...
Time is a wonderful teacher. Unfortunately it kills all of its students.