>Potter,
>Thanks! But it still doesn't work. Mine is Hotsend Email Attacher too, and here is my code:
>
>set printer to hotsend email attacher
>report form myreport to printer off
>
>The report is still printed to the printer, not hotsend.
>
>What do I miss?
>
>Thanks again!
>
>>It depends on the name of the Hotsend priner as installed on your computer. On mine it is "Hotsend Email Attacher". So the code line would be:
>>
>>set printer to hotsend email attacher
>>
>>I have generally sidstepped this by giving the user the choice to print to a selected printer. My code line then is:
>>
>>report form myreport to print prompt
>>
>>the prompt parameter calls up the Windows print dialog that permits the user to pick ANY installed printer including Hotsend.
set printer to name "hotsend email attacher"
You may also need to clear out the EXPR, TAG, TAG2 memo fields from the first record of your .FRX file.