Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Report x VFP7
Message
De
26/07/2002 15:46:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Crystal Report x VFP7
Divers
Thread ID:
00683118
Message ID:
00683118
Vues:
65
i'm trying to use de Crystal Report to print some reports in VFP, but i need to change the server, database and table name at runtime.

*** This Code create a Crystal Report Engine object

loCrystal = CREATEOBJECT('Crystal.CRPE.Application')
loReport = loCrystal.OpenReport(lcReport,1)

****I try to use. No work and i need help
loCrystal.LogOnServer("pdsodbc", "MSSDE", "IfmGest001002", "sa", "" )
loDatabase.Tables(1).SetLogOnInfo "pdssql.dll", "MSSDE", "IfmGest001002","sa")

loReport.PrintOut(.T.,1,.F.,1,1)

How can i do it?
Please Help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform