on 04-02-2014 9:25 AM
Hi Folks,
I have a field and value for that field is made by user selection.
Now, i want to include that field in filter used by the planning function.
But my question is could i include that field directly in filter using the same variable thats used in input layout and modifying the fox code by passing value to the field by this statement:
Let the field added be X.
X = VARC(VARIABLE NAME).
Kindly advice.
Thanks
As per my understanding you want to know if you can restrict the field value to a variable used in input layout in filter and then you want to use the same in fox code using VARC.
You can restrict same variable in filter and once restricted fox code will be able to amend the data for all the values of a variable at one go.However if you want to pick only few values for variable based on input and perform manipulation then I would suggest to use VARV,VARC and VARI .
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kitu,
the code on how to read variable values in fox is different than what you stated.
you need to define first a local variable
data local type xxx. (local is an individual name, xxx is the info object name)
then you need to fill the local variable with the value from your bex variable.
local = varv (yyy). (yyy is the technical name of your bex variable).
regards
Cornelia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Yes, you can use same variable in the Input layout and filter of the plannning function. Read the variable to modify the Fox formula.
Regards,
Anand Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.