Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports Won't
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00417481
Message ID:
00417508
Vues:
19
Never Mind. Found my problem. Thanks anyway.


Jeff

>I've used the code that Walter posted about how to print a Crystal Report from FoxPro with minon mods and I can't seem to get the database set. Here is my code.
>
>thissource="c:\mydata\mydata.xyz"
>CRreportname="Myreport"
>
>oCRreportEngine=CREATEOBJECT("CrystalRuntime.application")
>oCRreport=oCRreportEngine.openreport(CRreportname)
>oCRreport.database.tables.item(1).location=(thissource)
>oCRreport.opensubreport('rptid1')
>oCRreport.database.tables.item(1).location=(thissource)
>
>oCRreport.printout()
>
>I get an error indicating that the data does not exist.
>
>If I open the report the data shows up under the location tree but the report indicates it still looking for the old data. WHAT AM I MISSING? Please
>
>
>Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform