Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPOLEDB.dll and Crystal Reports 8.5 RDC
Message
De
07/02/2002 17:22:37
Pamela DeMerchant
Eagle Global Logistics, Inc.
Houston, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
VFPOLEDB.dll and Crystal Reports 8.5 RDC
Divers
Thread ID:
00617057
Message ID:
00617057
Vues:
99
Has anyone used the new VFP OLE DB driver with Crystal Reports 8.5 RDC yet? I cannot get the syntax right.

goCrxRp = Createobject("CrystalRuntime.Application")
goRp = goCrxRp.OpenReport(c:\TestCrystal\Reports\Test.rpt)
oConn = CREATEOBJECT("ADODB.Connection")
oConn.Open("Provider=vfpoledb.1;Data Source=c:\TestCrystal\data")
oRS = CREATEOBJECT("ADODB.Recordset")
lcTestData = "Select * from Test"
oRS = oConn.Execute(lcTestData)
goRp.Database.SetDataSource(oRS)

TIA,

Pam
Répondre
Fil
Voir

Click here to load this message in the networking platform