>>>>>>Is it possible to find out what printer name is selected when REPORT FORM ... with PROMPT is used?
>>>>>
>>>>>I have to ask WHY you want to know which printer a report was printed to? What do you plan to do with the information after you get it?
>>>>
>>>>I have a routine which prints a report and following this report another routine sends a Word or Excel document to the printer (using Office automation). Right now, the Word or Excel document always go to the default printer. I want to direct them to the same printer where user selected to print VFP report.
>>>
>>>I am afraid you would have to change your approach a bit, since there is no way to get this info, AFAIK.
>>
>>I am not ready to change the approach right now (I don't want something else to break in the process). So the customers will have to live with this anomaly.
>
>Could you change your process slightly with GETPRINTER() and then omitting the PROMPT clause from REPORT FORM????
I am going give this some thought and trial. Thank you for your suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham