Thanks, I will check it out.
>My approach is a little different. I never dimension the array before SQL and explicitly release array if by any means I would do another SQL into the same array.
>Because if array exists SQL doesn't shrink its size in cases resulting a wrong assumption that there were elements.
>Instead whenever I select into array I explicitly check :
>if type('arrSQL[1,1]') # 'U'
>...
>else
>..
>endif
>If SQL returned no reults it would be 'U'. If you really ever need a nonempty array you could take care of it in else part in safer way.
>_Tally is not always reliable IMHO.
>Cetin
Tommy Tillman A+ NetWork+ MCP