Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i send parameters from vfp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00672715
Message ID:
00673181
Vues:
14
Hi Carlos,

You must do the following code:


* Obtain object parameters list
crxParameters = CRReport.ParameterFields
* Position 1
crxParameter = crxParameters.ITEM(1)
crxParameter.AddCurrentValue(lcMyParameter)


If you have more than one parameter (imagine they are in a Array), you can do the following:


* Obtain object parameters list
crxParameters = CRReport.ParameterFields
* Position n
FOR i = 1 TO ALEN(myArray, 1)
crxParameter = crxParameters.ITEM(i)
crxParameter.AddCurrentValue(myArray(i))
NEXT i



Hope it helped.


Ricardo
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform