on 09-20-2007 1:32 AM
Hi Experts!!
I'm trying to write a Fox formula to get the number of values of a value ranges variable, something like this:
<i>DATA CUANTOS TYPE I.
CUANTOS = VARC(0I_FPER).
DO CUANTOS TIMES.
FOREACH CATEGORIA, MATERIAL.
........ and go on.....</i>
(Where '0I_FPER' is a variable of type value range)
But, I'm getting the following error: <b>"comma was expected and other arguments insted of )"</b>
in this line: <b>CUANTOS = VARC(0I_FPER).</b>
I think the correct sintax for VARC is VARC(variable), so why is expecting more arguments???
Thnks a lot!!
Yolanda.
Hello,
the message pops up if the characteristic is compounded. You have to
supply a local variable with the value of the superordinate characteristic.
You have to add the following lines to your code.
DATA FISCVARNT TYPE 0FISCVARNT.
...
FISCVARNT = 'K4'.
CUANTOS = VARC(0I_FPER, FISCVARNT).
Best regards
Hans-Juergen Schwab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.