We have a parameter that allows the user to enter multiple part numbers. I need to use each one of those part numbers in a calculation. Somehow I need to store each item entered (array?) and then use it in a formula.
Thanks for your help!!!
Hi,
Multiple value parameters are stored in an array so you can use any of the array functions to manipulate the contents..
See the Help file for example, but some are
Count({?ParameterName}) returns the # of array items
UBound({?ParameterName)) returns a Number containing the largest available subscript for the given array.
Using these to set up a Loop will let you access each element in the array and act on it..
To Paraphrase:"The Help you get is proportional to the Help you give.."
Thanks!!
I need to come up with the sales increase for each part number enter for the parameter. I will give you an example of the user entering 3 part numbers with the sales increase (sales increase is the first 2 digits);
1. 20 part number
2. 10 part number
3. 25 part number
first value, I need sum(partnumber, 20% * lastyearsales)
second value, I need sum(partnumber, 10% * lastyearsales)
third value, I need sum(partnumber, 25% * lastyearsales)
I will extract the percent by grabing the first 2 characters. Thanks for your help!!
Where [1] is the index of the parameter partnumber entered.
I'll want specific technical information to address the particulars, such as your software version, database used, example data, and the resultant required output.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.