General information
Category:
Reports & Report designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only