Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC vs OLE DB
Message
From
27/11/2002 08:48:21
Luis Navas
Independent Consultant
Auckland, New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00727306
Message ID:
00727535
Views:
10
you only has to change the location for the DBC, and put the name of the table.
Example:
**I'm using form properties to store the objects
WITH THIS
.crxApplication = CREATEOBJECT("CrystalRuntime.Application")
.crxReport =.crxApplication.OpenReport("c:\REPORTNAME.RPT")

**You have to make this part with every table in the report.
.Crxreport.DATABASE.TABLES(1).SETLOGONINFO("c:\DATA\SYSTEM.DBC,"","","")
.Crxreport.DATABASE.TABLES(1).LOCATION="Invoices"
ENDWITH

You can do it like this, or you can dowloand from here my class for Crystal Reports, that will do it for you.
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