why not :
sele * from some_alias into cursor tmpCur where .f.
this gives you the same in one line!
Peter
>>Hello Srdjan,
>>
>>Could you please give me examples of functions that wouldn't function properly with long field names?
>
>I experienced problem with following code construct
>
>
>select some_alias
>local aTmp(1)
>afields(aTmp)
>create cursor tmpCur from array aTmp
>alter table alias() add column...
>
>
>I did not do extensive testing with other commands. Ask Dragan, he probably did ! :))
Peter Cortiel