>>Using VFP 6 SP4, I have an array, aErrors, in a class and when I use the ACOPY() command in a method of that class, I'm getting the error message: 'AERRORS() is not an Array':
>>
>>DEFINE CLASS MyClass AS CUSTOM
>> aErrors[1,1] = .F.
>>
>> PROCEDURE MyMethod
>> lnCount = AERROR(laError)
>> IF lnCount > 0
>> *: Offending line of code!!!!!!
>> ACOPY(laError,THIS.aErrors)
>> ENDIF
>> ENDPROC
>>ENDDEFINE
>>
>>Thanks,
>>
>>Dan
>
>Dan,
>Add dimension :
>
>
DEFINE CLASS MyClass AS CUSTOM
> dimension aErrors[1,1]
Cetin
Thank you Cetin, that will work.
Guess I've been away from VFP and into VB way too long LOL.
Dan