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:
00954304
Views:
14
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()
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform