Hi Stefan,
In VFP8 you can use SYS(2040) function to determine if report is previewed or printed.
>We need to track which reports have been sent to a printer instead of having been merely previewed, so that it can be added either to the 'to print' list or the 'already printed' list for example.
>
>I seem to remember that in VFP7 or VFP8 some functionality was added so that the report could tell reliably whether it was being previewed or being printed, but I cannot find it in the docs or in the UT FAQ. Am I chasing a ghost or is there some functionality like that?
>
>So far the only thing I can think of is the good old WEXIST("Printing...") trick but I don't like it very much as it seems a bit brittle.
--sb--