It's not necessary to use the NOCONSOLE clause when you use the PREVIEW clause.
>Hi!
>
>What could cause the following situation...
>
>I do the command...
>
>REPORT FORM (ConvFilename(Reports.filname)) NOCONSOLE PREVIEW TO PRINTER PROMPT
>
>Some reports (not all) Quickly open up the Preivewi screen
>then immediately close it without displaying the report.
>
>When I press the button a second time ..
>And execute the same command it works just fine..
>
>Why do I have to call this command twice for some reports???
>
>I looked at a few things...
>
>For example...
>-The table in the detail band is selected...
>-I tried variations of the command i.e.
>REPORT FORM (ConvFilename(Reports.filname)) TO PRINTER PROMPT PREVIEW
>
>REPORT FORM (ConvFilename(Reports.filname)) NOCONSOLE PREVIEW TO PRINTER PROMPT
>REPORT FORM (ConvFilename(Reports.filname)) PREVIEW
>
>And all do the same thing..
>
>Any ideas...?