Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CR activeX Designer Error
Message
De
27/10/2004 08:58:06
 
 
À
25/10/2004 14:02:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00954272
Message ID:
00954823
Vues:
16
Problem solved. I found the proper documentation on my CR CD.


>Everything works fine on my development computer but when I try and run it from my clients computer I get the error.
>
>What DLL's need to be registered on the client computer in order to use CR.
>
>Claude
>
>>Looks like a formula error
>>
>>>I get the following error when I try to do print a report using CR.
>>>
>>>OLE IDispatch exception code 0 from Crystal Reports AcriveX Designer.The Remaining text does not appera to be part of the formula.
>>>
>>>Ltempdir=GETENV('Temp')
>>>
>>>COPY TO (lTempDir)+'\Archive.dbf' TYPE fox2x
>>>
>>>oCR=CREATEOBJECT('CrystalRuntime.Application')
>>>oRpt=Ocr.OpenReport(startdir+'\reports\archive.rpt')
>>>
>>>
>>>oDB= oRPT.Database
>>>ocDBT=oDB.Tables()
>>>oDBT=ocDBT.Item(1)
>>>oDBT.Location=(lTempDir)+'\Archive.dbf'
>>>IF oRpt.HasSavedData
>>> oRpt.DiscardSavedData()
>>>endif
>>>
>>>
>>>ORpt.PrintOut()
Claude Gosselin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform