Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CR activeX Designer Error
Message
From
27/10/2004 08:58:06
 
 
To
25/10/2004 14:02:48
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00954272
Message ID:
00954823
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform