Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CR activeX Designer Error
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00954272
Message ID:
00954382
Views:
9
found the problem. I was using the leadincaps function in my report.

Now I get "Physical database not found"

>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
Next
Reply
Map
View

Click here to load this message in the networking platform