>>>>The only exception to this is when select doesn't return any rows. Then the array's original size and values are preserved.
>>>
>>>Correct, that is my case.
>>>When one is working with the application for the first time, there are yet no records in the tables and this will result in 10 rows with .F. which I do not like.
>>>So I will now parse through the array and replace all the .f. values with '' easy enough
>>
>>Even easier
>>
>>laCheck=""
>
>
>Dragan,
>
>please elaborate. I am in for KIS stuff.
Can't find it in help, but this is at least 30 years old. When you assign a value to the whole array, ALL elements are assigned that value. Found an example in the help for DIMENSION Command:
The following example stores the string "initial" to all the elements in the array gaArray:
DIMENSION gaArray(10,3)
STORE 'initial' TO gaArray