Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using OLE DB with Crystal Reports 9
Message
De
28/11/2002 08:45:15
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
 
 
À
27/11/2002 15:48:39
Fabian Valencia
Calamos Asset Managment Inc.
Naperville, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00727754
Message ID:
00727928
Vues:
21
i think you're forgeting the Setlogoninfo, for each table.

With odbc and OLE DB, you can use like this (Check the changes):


* Open the CR engine
oEngineObject = CREATEOBJECT("CrystalRuntime.application.9")

* Open the report
oReport=oEngineobject.openreport("Reportname.rpt")

**I think you're have to put this. This will tell the Data driver wich DBC **to use.
oReport.Database.Tables.item[1].SetlogonInfo("C:\data\data.dbc","","","")

* Set the location of the table
oReport.Database.Tables.item[1].location = "full path of table"



Luis
I never forget a face, but in your case I will make an exception :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform