>Hi
>
>I use the command set printer on prompt - if I cancel at the point where the list of printers comes up how can I recognise this in VFP
>
>Thanks
>
>Colin
You can get the printer name first with GetPrinter(). If the return value isblank(), the user has cancelled.
Then, if not isblank(), you can go ahead and print to the printer the user selected.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)