Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Report file invalid error???
Message
De
14/10/1998 16:35:57
Zaraq Bari
Bari Studios Limited
Lahore, Pakistan
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00146832
Message ID:
00146866
Vues:
39
>>In the form the crystal report ocx is added with its action property set to 1
>>so as to print the report in vfp application. It used to work in vfp5.0a but
>>doen not in vfp6.0.The error it gives is:
>>OLE IDispatch exception code 0 from CrystalReport:Invalid report file name..
>>Isn't vfp6.0 compatible with crystal reports 6.0?
>>If it is then why is it giving the error? The report file is there and the path
>>is also correct.
>
>Do you mean that you're adding the control when you want to print, or that you're adding the control at design time and changing the Action property to 1 when you want to print it?
>
>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()
Thanks Garret
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?
Zaraq
Teachers open the door, but you must enter by yourself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform