Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview not working - As Top Level Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00990918
Message ID:
00991007
Vues:
19
Dale -

I have a form with a report on it. The report is a top level form. I want to control the output of the report, but for some reason everything I try fails. I have tried to follow VFP9 sample, but it is not a top level form. Has anyone tried this on a top level form and what might I be missing.

I tried your code, with a couple of extra statements:
loPreview = null
do (_ReportPreview) with loPreview

loPreview.Width = _screen.Width - 30
loPreview.topform = .T.

loListener = createobject("reportlistener")
loListener.OutputType = 1
loListener.ListenerType = 1
loListener.PreviewContainer = loPreview

report form (_SAMPLES + "\Solution\Reports\invoice.frx") object loListener
This seemed to work for me. Can you describe what you are seeing that does not seem correct to you?

- Colin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform