Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Report file invalid error???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00146832
Message ID:
00147216
Vues:
42
>>>In any case, Seagate recommends that you not use the OCX any more: support will be dropped in a future release. Try creating an automation server.
>>>loCR = CREATEOBJECT('Crystal.CRPE.Application')
>>>loRep = loCR.OpenReport('MyReportName.rpt')
>>>loRep.PrintOut()
>>But if I don't use the Ocx on the form, how will I handle its properties like
>>preview options etc?And how will I call the application from my form?
>
>Well, see the above code, and reference the developer's help. It takes a while to get the hang of reading it, but once you figure out how they've organized it, it's easier (note the 'er' :-) )
>
>loRep.PrintWindowOptions.CanDrillDown = .T.
>loRep.PrintWindowOptions.HasPrintButton = .F.
Oops, forgot the other command:
loRep.Preview()
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform