>Thanks for the reply Mark
>
>>>form report reportname preview NOCONSOLE
>
>Now I does not show the report, do I need to create something else
>I shows a little dialog window that shows the number of pages printing
>but that's all
>
>any more suggestions
>
>
>>Mark,
>>Add NOCONSOLE to the command.
>>
>>Mark
>>
>>>I have a Form that calls a Report,
>>>When I issue the command
>>>form report reportname preview
>>>
>>>the report itself shows up in my form
>>>
>>>Why is that?
If you're trying to preview a report and your forms are all top-level (you don't use the VFP main screen) you must make the VFP main screen visible in order to do preview.
_SCREEN.Visible = .t.