Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subreport parameters
Message
De
31/03/2005 10:26:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Subreport parameters
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01000333
Message ID:
01000333
Vues:
53
I have a crystal report that runs within my VFP application. This report uses 2 parameter fields and I set the value within the code as follows

ocr = createobjec("CrystalRuntime.application")
orpt = ocr.openreport("f:\apps\in-house apps\eomaccounting\REPORTS\Other Reports\Loan Sale MSH Posting.rpt")
if orpt.hassaveddata
orpt.discardsaveddata()
endif
ocparm=orpt.ParameterFields()
oparm=ocparm.Item(1)
oparm.SetCurrentValue(loan_sell_date)
oparm=ocparm.Item(2)
oparm.SetCurrentValue(wkinv_cd)
orpt.printout()
release ocr

I have had to change this report and add a subreport to the report footer that is a summary of the main report.

How do I set the value of a parameter field within the subreport?


Thanks
God Bless America
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform