Hi Kevin,
AERROR() RETURNS the number of elements in laError
lnLinesIn_laError = AERROR(laError)
IF lnLinesIn_laError=0 THEN
?'no Error occured, laError is not existing'
ELSE lnLinesIn_laError=0
?'error happend, laError exists'
ENDIF lnLinesIn_laError=0
Agnes
>Hello,
>
>I was playing around with aError(laError) this a.m. and after laError was created I tested it's type and it came back as an 'N'. Why didn't it come back as an 'A'? (using vfp 6 sp3)
>
>Thanks,
>
>Kevin
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]