Thanks... I've already done that.. but was wondering if there was something I was overlooking that would allow me to get around not having to code for the blank array.
As it turns out, they used databases that were initially populated with records, so the array would be intitalized by SQL-Select. I was told to place a blank record in the database to start with, then code to not allow the database to have no records.
Tommy
>>What is a solution for this? I have placed code to check _TALLY, and then intialize the Array with 1 element, and placed values in the array element.
>>
>>Is there a cleaner way?
>>What would you do?
>>
>>Tommy
>
>You can dimension and initialize an array before select.
>If SQL select gets no records than foxpro wouldn't change the array.
>Otherwise the array will be filled with selected data.
Tommy Tillman A+ NetWork+ MCP