Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview in maximized window?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00430752
Message ID:
00431214
Views:
10
One option that I have found simple and useful because it offers complete control is to preview the report in a windows. First, define the window, and set its state to maximized and visibilty to .F.

For example

PUBLIC Def_Preview
Def_Preview = CreateObject("form")
With Def_Preview
.Caption = "Report Preview"
.Name = "DefPreviewWindow"
.WindowState = 2
.Visible = .F.
EndWith

Then, when you want to print a report, issue the following command

def_preview.visible = .T.
REPORT FORM rptReport PREVIEW WINDOW "DefPreviewWindow"
def_preview.visible = .F.

Hope this helps.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform