Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report preview doesn't work...
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00437103
Message ID:
00437215
Views:
17
>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...?


Tim,

Try switching the clauses around so PREVIEW is after TO PRINTER PROMPT ...

REPORT FORM (ConvFilename(Reports.filename)) NOCONSOLE TO PRINTER PROMPT PREVIEW


Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform