Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CR activeX Designer Error
Message
From
25/10/2004 11:00:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
CR activeX Designer Error
Miscellaneous
Thread ID:
00954272
Message ID:
00954272
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform