Sergey,
It's been a long week and it's only Tuesday.
I should have thought of that.
Tks and sorry.
>Allan,
>
>There's a typo in the code. The function name's WEXIST().
_VFP.SetVar("llPrinted", WEXIST("Printing..."))
>
>>Sergey,
>>
>>I just tried the method mentioned in the thread.
>>An error pops up "file 'wexists.prg does not exist"
>>I am using VFP 7 sp1 O/S is XP PRO sp1.
>>
>>TIA.
>>
>>>>Hi All,
>>>> How do you check in the program whether the given report is printed by user or not? User might click on cancel button in printer selection screen. Here is the code for printing the report.
>>>>
>>>>REPORT FORM xyz TO PRINT PROMPT
>>>>
>>>>
>>>>Thanks in Advance,
>>>>
>>>>Ravi
>>>
>>>See
Re: Capturing Print Dialogue Box Result Message #
644781