Suhas,
if you didnt' have created the array befor SELECT SQL then
IF TYPE('YourArray')='U' THEN
ENDIF
An other way is to create the array before with the number of columns and one row lenght and fill it with default values.
For example: If the SELECT SQL returns a number in column one you can do something like
LOCAL ARRAY;
laSQLReturn(1,2)
SELECT;
nNumber,cString;
FROM SomeTable;
INTO ARRAY laSQLReturn
IF VARTYPE(laSQLReturn)='L' THEN
ENDIF
HTH Agnes
>hi,
>I am facing a problem
>
>Select into array ...
>
>how do i know that the arrry is created other than the use of _tally ?
>
>TIA
>suhashegde
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]