Hi Mark,
>>
>>>Could someone please explain why the hell anyone would put TO PRINTER PREVIEW in the same REPORT FORM command? IMO, that is just plain nuts.
>>
>>It sure seemed that way to me at first. If you make it TO PRINTER PREVIEW PROMPT, the user can then even choose number of copies at the time they decided to print.
>
>I understand that part. The problem is having both TO PRINTER and PREVIEW in the same command. I get an error whe I try this and PROMPT can only be used with TO PRINTER.
Do you get an error on this:
REPORT FORM SomeRpt TO PRINTER PREVIEW
I don't. It sure looks strange, but it works.
I get an error on this:
REPORT FORM SomeRpt PREVIEW PROMPT
The only time I get an error is when I try to use PROMTP without TO PRINTER. Or am I still off base?
Bill Armbrecht
VFP MCP