Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 3.0 - REPORT .... PREVIEW not working?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00019967
Message ID:
00020328
Views:
63
>>>>>
>>>>>Assuming that your .... contains the report name, check your data to be sure you have at least 1 record. If your SQL-Select produces an empty cursor all you get is a blank screen with the toolbar.
>>>>
>>>>Hi, I wish I could get a blank screen. All I get is the form from which the report was started with "REPORT FORM etc.." and the Preview toolbar. Any attempts to ACTIVATE WINDOW "Print Preview" get an error - window undefined. When output to the printer the report works fine.
>>>>
>>>
>>>Activate what window? Review the syntax for the REPORT command via the VFP Help file. All you need is the parameter PREVIEW. Try it in the command window to understand the concept.
>>
>>Hi, the command I use has the parameter PREVIEW but still only displays the Preview toolbar over the existing form. Because it seems to be doing something in the background before the toolbar appears, I thought that there is a special "system" window that needs activating for the actual "preview" to be seen.
>>
>I've had this occur when a form was Alwaysontop, the preview toolbar shows but the preview window is hidden...did you check that out?
>
Hi, that's exactly the problem. Once I set AlwaysOnTop to .F. before the REPORT command with PREVIEW and reset to .T. afterwards then "preview" works perfectly. Thanks for your help.

Rgds
Petras
Petras Virzintas
Previous
Reply
Map
View

Click here to load this message in the networking platform