Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CR activeX Designer Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00954272
Message ID:
00954304
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform