Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using OLE DB with Crystal Reports 9
Message
From
28/11/2002 08:45:15
Luis Navas
Independent Consultant
Auckland, New Zealand
 
 
To
27/11/2002 15:48:39
Fabian Valencia
Calamos Asset Managment Inc.
Naperville, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00727754
Message ID:
00727928
Views:
20
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 :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform