Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports changing database at runtime
Message
De
16/08/2006 12:57:13
 
 
À
16/08/2006 12:45:15
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Produits tierce partie
Divers
Thread ID:
01144232
Message ID:
01146064
Vues:
22
Doh! Sorry..I answered a similar question in a different forum. Here's the code.
CRApplication = createobject("CrystalRuntime.Application") 
REPNAME = REPSPATH + 'SURVEY.rpt'
CRReport = CRApplication.OpenReport(REPNAME)

myLocalDataFile = DataPATH + 'XLFile.xls'

CRReport.Database.Tables(1).SetTableLocation(myLocalDataFile, "", ::)

CRSubReport = CRReport.OpenSubReports("SSurvey.Rpt")
CRSubReport.Database.Tables(1).SetTableLocation(myLocalDataFile, "", "")
>Maybe that is what I am missing where is the code that you posted ? Was it in one of the thread responses ?
>
>Thanks Again !
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform