You can check _TALLY variable
SELECT ... INTO ARRAY ...
IF _TALLY = 0
>I'm selecting into an array
>" sele x into thearray"
>if no results then no array.
>I'm using type("thearray") = "C" to see if "thearray" variable exists.
>
>is there a safer way, without requerying for a count?
>
>Thank You
>Miles
--sb--