Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC vs OLE DB
Message
De
27/11/2002 08:48:21
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00727306
Message ID:
00727535
Vues:
11
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 :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform