Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i send parameters from vfp
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00672715
Message ID:
00673181
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform