Sergey,
Thank's for pointing this out to me. In this case I opted for GETPRINTER() and then test if a printer was selected.
BR
Peter
>>I need to detemine if the user has cancelled out of a Report....Prompt because of flag setting an stuf that has to be done if and only if something has been printed.
>>
>>
>Hi Peter,
>
>See
Re: Capturing Print Dialogue Box Result Thread #
644779 Message #
878078. In VFP8 and later you would rather rely on SYS(2040) function because NODIALOG option may suppress "Printing..." window.
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)