Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Facing Problems with VFP-Reports
Message
De
29/08/2007 05:26:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Facing Problems with VFP-Reports
Divers
Thread ID:
01251091
Message ID:
01251091
Vues:
60
Hi There,

Actually I build one report and it preview by a command button of Top Level Form. When I click first time the report is previewing in a full screen...as a Top level. Once if I close the report the form is also closing..So I need to solve this problem…Anyone to help for me please….

Also, If I run the same form in second time, the report is previewing inside the tool bar of form…..So any one to help me please

The codings are given below…

SET REPORTBEHAVIOR 90
LOCAL JoPreviewContainer, Jx AS ReportListener
DO (_REPORTPREVIEW) WITH JoPreviewContainer
JoPreviewContainer.Caption = 'PIS Special Report'
JoPreviewContainer.ZoomLevel = 5 && 100%
JoPreviewContainer.ToolbarIsVisible = .F.
Jx = CREATEOBJECT('ReportListener')
Jx.QuietMode = .T.
Jx.DynamicLineHeight= .T.
Jx.AllowModalMessages = .T.
Jx.ListenerType = 1
Jx.PrintJobName = "AL MASHARIQ - Employee's Work Assignment General Report"
Jx.PreviewContainer =JoPreviewContainer
REPORT FORM "C:\My_Development\Wk_Ass.FRX" PREVIEW OBJECT Jx NOWAIT
JoPreviewContainer.oForm.Toolbar.Dock(0)
JoPreviewContainer.oForm.WindowState = 2

By PARAMU
Répondre
Fil
Voir

Click here to load this message in the networking platform