>can anyone tell me how i can update the fields within an array ?
>
>FOR i = 1 TO FCOUNT()
>REPLACE ALL (FIELD(i)) WITH NVL(EVAL(FIELD(i)), GetEmptyValue(TYPE(FIELD(i))) )
>ENDFOR
>
>
>instead of using field of a table, i would like to use an array...
Arrays don't have fields they have elements. To update element values in an array I usually use a for loop like this.
for i = 1 to ALEN(laArray)
laArray[i] = && some value
endfor
Rip Ryness
International Falls, MN